Permalink
Browse files

MDL-38460 theme_mymobile: Fixes resources folders to show properly on…

… first access.
  • Loading branch information...
1 parent 2ab8628 commit 951a9fcc67b1b5390ebc34d37f718caa792c69ff @lazydaisy lazydaisy committed Mar 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 theme/mymobile/javascript/custom.js
@@ -61,7 +61,7 @@ $(document).ready(function() {
});
//calendar and other links that need to be external
- $('.maincalendar .filters a, li.activity.scorm a, div.files a, #page-user-filesPAGE li div a, .maincalendar .bottom a, .section li.url.modtype_url a, .resourcecontent .resourcemediaplugin a, #underfooter .noajax a, .block_mnet_hosts .content a, .block_private_files .content a, a.portfolio-add-link, #attempts td a').attr("data-ajax", "false");
+ $('.maincalendar .filters a, li.activity.scorm a, div.files a, #page-user-filesPAGE li div a, .maincalendar .bottom a, .section li.url.modtype_url a, .resourcecontent .resourcemediaplugin a, #underfooter .noajax a, .block_mnet_hosts .content a, .block_private_files .content a, a.portfolio-add-link, #attempts td a, .settingsul li a, .foldertree li a').attr("data-ajax", "false");
//add blank to open in window for some
$('#page-mod-url-viewPAGE div.urlworkaround a, #page-mod-resource-viewPAGE div.resourceworkaround a, .mediaplugin a.mediafallbacklink, #page-mod-resource-viewPAGE .resourcemp3 a, .foldertree li a').attr("target", "_blank").attr("data-role", "button").attr("data-icon", "plus");

0 comments on commit 951a9fc

Please sign in to comment.