I created a new channel by overriding /etc/clientlibs/granite/clientlibrarymanager/DefaultChannelDetector.js, using the existing ie6 channel as a template to create an ie8 channel so that channels looked like this:
var channels = [
channel: "ie6", // or lower
match: /MSIE ([0-6]\.[\.0-9]{0,})/i
},
{
channel: "ie8", // 7 and 8
match: /MSIE ([7-8]\.[\.0-9]{0,})/i
} ,
...
];
In general this works: clientLibraries I have created with the specified ie8 channel get loaded, however when loading a page in author mode with a default cq component in IE8, the javascript console shows the errors:
'CQ.undo.UndoManager' is null or not an object
'CQ.WCM' is null or not an object
and the component is not visible/editable.
How can I create a custom ie8 channel to load ie8 specific stylesheets/javascripts?
Solved! Go to Solution.
Views
Replies
Total Likes
Right now all available channels are hardcoded and not easily extensible. File a daycare request providing your usecase with a business reason so that enhancement request can be filled.
Views
Replies
Total Likes
This StackOverFlow thread addresses this subject:
Views
Replies
Total Likes
Right now all available channels are hardcoded and not easily extensible. File a daycare request providing your usecase with a business reason so that enhancement request can be filled.
Views
Replies
Total Likes
No, it doesn't.
Views
Replies
Total Likes
Thank you Sham, I filed a daycare request and they suggested I check here. I'll reopen it and follow your advice.
Thanks again.
Views
Replies
Total Likes
Views
Likes
Replies