Open backend with IE11
Works
I get an error in my console directly after logging in:
I get another error when accessing a list view (eg article manager):
Used IE11 on Windows 7 for that test.
Labels |
Added:
?
|
Title |
|
Title |
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-06-14 15:33:47 |
Closed_By | ⇒ | wilsonge |
Status | Closed | ⇒ | New |
Closed_Date | 2017-06-14 15:33:47 | ⇒ | |
Closed_By | wilsonge | ⇒ |
Reopening since that PR didn't help at all.
Category | ⇒ | JavaScript |
Really? It fixed the console error for me in IE11
The object doesn't support the property or method "closest"
The difference to the first test is that this is now on a Windows 10 computer (at home) while the other was a Windows 7 (at work). But I guess that shouldn't matter.
It shouldn't make a difference at all as I believe the IE version are exactly the same....just with a different version number (11 - 12)
Status | New | ⇒ | Discussion |
It's always IE 11. There is no IE12
That was the beer talking lol
The PR has unfortunately been merged (without tests) so could you test 1 more time and let me know if you still get an error from the template.js
?
You also mentioned an error in the list views....just FYI, that PR wasn't supposed to fix that....only the sidebar ;)
You also mentioned an error in the list views....just FYI, that PR wasn't supposed to fix that....only the sidebar ;)
Yeah, got that. Another reason why the issue shouldn't have been closed
The PR has unfortunately been merged (without tests) so could you test 1 more time and let me know if you still get an error from the template.js?
Not sure what to test. My test was done with the merged PR already and that PR didn't get any changes after the merge to my knowledge. Or did I miss something?
I'm assuming you've ensured it's not browser cache or something stupid
I'm assuming you've ensured it's not browser cache or something stupid
I verified in the browser dev tools that the JS files got the changes in it. As you can see from the screenshot, there is also a difference in the linenumbers where the error occurs, the difference is exactly by the lines added by the PR. So I doubt it is browser caching, would be very odd then.
Getting the same error...
Object doesn't support property or method 'closest'
This not the reason for?.. https://github.com/joomla/joomla-cms/blob/4.0-dev/administrator/templates/atum/js/template.js#L17
That's just the function for this: https://github.com/joomla/joomla-cms/blob/4.0-dev/administrator/templates/atum/js/template.js#L137
Supposed to be like jQuery's closest()
function
In that case https://github.com/joomla/joomla-cms/blob/4.0-dev/administrator/templates/atum/js/template.js#L137 this line should be var firstLevel = closest(allLinks[i], '.collapse-level-1');
rather than the current line?
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-07-09 15:08:19 |
Closed_By | ⇒ | franz-wohlkoenig |
Closed_Date | 2017-07-09 15:08:19 | ⇒ | 2017-07-09 15:08:20 |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
closed as having PR.
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/16688
PR: #16693