Permalink
Browse files

MDL-33934 theme_mymobile: Updates to CSS & Javascript - including MDL…

…-38072 removing css/js for collapsed topic.

The following comments is a mash of commits for reference only:

Squashed commit of the following:

commit a6ab42de71e41c0760d6d99dec7a3ec6ef8b7e52
Author: Mary Evans <lazydaisy@visible-expression.co.uk>
Date:   Sat Feb 23 15:34:12 2013 +0000

    MDL-33934 theme_mymobile: fixing whitspace and undoing some previous confict changes fixing where broken.

commit a5abe86fad012f2face9dbd98826583499f46b88
Merge: 89c04c2 13c3ee1
Author: Mary Evans <lazydaisy@visible-expression.co.uk>
Date:   Sat Feb 23 15:18:17 2013 +0000

    Merge branch 'wip-MDL-33934_master' of github.com:lazydaisy/moodle into wip-MDL-33934_master

    Conflicts:
        theme/mymobile/javascript/custom.js
        theme/mymobile/style/core.css

commit 89c04c2bee75938ba5e6f6b54f43ff866c6119b6
Author: Mary Evans <lazydaisy@visible-expression.co.uk>
Date:   Sat Feb 23 15:01:43 2013 +0000

    MDL-33934 theme_mymobile: Removed collapsed topic contributed plugin css/js from style/core.css & javascript/custom.js

commit ddee12ebd2083af0ebebd747e867957d46a10af7
Author: Mary Evans <lazydaisy@visible-expression.co.uk>
Date:   Tue Feb 19 11:05:35 2013 +0000

    MDL-33934 theme-mymobile: un-commenting $(document).ready(function() in javascript/custom.js.

commit 365bb2d9772f9fd2cb55139f728fa9611dac7b4d
Author: Mary Evans <lazydaisy@visible-expression.co.uk>
Date:   Sun Feb 17 17:41:47 2013 +0000

    MDL-33934 theme_mymobile: updates to javascript and css

commit 13c3ee133945ce0e2a55dd54e0c8b8e2a35f76c5
Author: Mary Evans <lazydaisy@visible-expression.co.uk>
Date:   Tue Feb 19 11:05:35 2013 +0000

    MDL-33934 theme-mymobile: un-commenting $(document).ready(function() in javascript/custom.js.

commit c9e626adf810e3d8d3f776b99d648017033fdb39
Author: Mary Evans <lazydaisy@visible-expression.co.uk>
Date:   Sun Feb 17 17:41:47 2013 +0000

    MDL-33934 theme_mymobile: updates to javascript and css
  • Loading branch information...
1 parent f29e62c commit c443c95c016bff151e4c78692d9ba1d326dc2a11 @lazydaisy lazydaisy committed Feb 23, 2013
Showing with 9,113 additions and 7,390 deletions.
  1. +9 −10 theme/mymobile/config.php
  2. +29 −31 theme/mymobile/javascript/custom.js
  3. +0 −4 theme/mymobile/javascript/jquery-1.7.1.min.js
  4. +2 −0 theme/mymobile/javascript/jquery-1.8.2.min.js
  5. +6,544 −5,069 theme/mymobile/javascript/{jquery.mobile-1.1.1.js → jquery.mobile-1.2.0.js}
  6. +2 −0 theme/mymobile/lang/en/theme_mymobile.php
  7. 0 theme/mymobile/layout/embedded.php
  8. +14 −26 theme/mymobile/layout/general.php
  9. 0 theme/mymobile/lib.php
  10. BIN theme/mymobile/pix/07-map-marker.png
  11. BIN theme/mymobile/pix/41-picture-frame.png
  12. BIN theme/mymobile/pix/83-calendar.png
  13. BIN theme/mymobile/pix/ajax-loader.gif
  14. BIN theme/mymobile/pix/ajax-loader.png
  15. BIN theme/mymobile/pix/ajax-loader2.png
  16. BIN theme/mymobile/pix/clip.png
  17. BIN theme/mymobile/pix/empty.gif
  18. BIN theme/mymobile/pix/favicon.ico
  19. BIN theme/mymobile/pix/form-check-off.png
  20. BIN theme/mymobile/pix/form-check-on.png
  21. BIN theme/mymobile/pix/form-radio-off.png
  22. BIN theme/mymobile/pix/form-radio-on.png
  23. BIN theme/mymobile/pix/header.png
  24. BIN theme/mymobile/pix/ibulb.png
  25. BIN theme/mymobile/pix/icalendar.png
  26. BIN theme/mymobile/pix/icalendarI4.png
  27. BIN theme/mymobile/pix/icon-arrow-white-down.png
  28. BIN theme/mymobile/pix/icon-arrow-white-left.png
  29. BIN theme/mymobile/pix/icon-arrow-white-right.png
  30. BIN theme/mymobile/pix/icon-arrow-white-up.png
  31. BIN theme/mymobile/pix/icon-delete.png
  32. BIN theme/mymobile/pix/icon-minus-white.png
  33. BIN theme/mymobile/pix/icon-plus-white.png
  34. BIN theme/mymobile/pix/icon-search-black.png
  35. BIN theme/mymobile/pix/icons-18-black.png
  36. BIN theme/mymobile/pix/icons-18-white.png
  37. BIN theme/mymobile/pix/icons-36-black.png
  38. BIN theme/mymobile/pix/icons-36-white.png
  39. BIN theme/mymobile/pix/imessage.png
  40. BIN theme/mymobile/pix/imessageI4.png
  41. BIN theme/mymobile/pix/iuser.png
  42. BIN theme/mymobile/pix/iuserI4.png
  43. BIN theme/mymobile/pix/linevert.png
  44. BIN theme/mymobile/pix/m2m.png
  45. BIN theme/mymobile/pix/m2m2x.png
  46. BIN theme/mymobile/pix/m2ms.png
  47. BIN theme/mymobile/pix/navs.png
  48. BIN theme/mymobile/pix/navsI4.png
  49. BIN theme/mymobile/pix/newnav.png
  50. BIN theme/mymobile/pix/newnav_s.png
  51. BIN theme/mymobile/pix/photos.png
  52. BIN theme/mymobile/pix/pinstripes.png
  53. BIN theme/mymobile/pix/power.png
  54. BIN theme/mymobile/pix/req.png
  55. BIN theme/mymobile/pix/screenshot.png
  56. BIN theme/mymobile/pix/texture_05.png
  57. BIN theme/mymobile/pix/texture_075.png
  58. BIN theme/mymobile/pix_core/a/help.png
  59. BIN theme/mymobile/pix_core/a/refresh.png
  60. BIN theme/mymobile/pix_core/a/search.png
  61. BIN theme/mymobile/pix_core/a/setting.png
  62. BIN theme/mymobile/pix_core/c/course.png
  63. BIN theme/mymobile/pix_core/c/event.png
  64. BIN theme/mymobile/pix_core/c/group.png
  65. BIN theme/mymobile/pix_core/c/site.png
  66. BIN theme/mymobile/pix_core/c/user.png
  67. BIN theme/mymobile/pix_core/docs.png
  68. BIN theme/mymobile/pix_core/f/audio.png
  69. BIN theme/mymobile/pix_core/f/avi.png
  70. BIN theme/mymobile/pix_core/f/dmg.png
  71. BIN theme/mymobile/pix_core/f/docm.png
  72. BIN theme/mymobile/pix_core/f/docx.png
  73. BIN theme/mymobile/pix_core/f/excel.png
  74. BIN theme/mymobile/pix_core/f/image.png
  75. BIN theme/mymobile/pix_core/f/text.png
  76. BIN theme/mymobile/pix_core/f/video.png
  77. BIN theme/mymobile/pix_core/f/web.png
  78. BIN theme/mymobile/pix_core/help.png
  79. BIN theme/mymobile/pix_core/i/admin.png
  80. BIN theme/mymobile/pix_core/i/approve.png
  81. BIN theme/mymobile/pix_core/i/backup.png
  82. BIN theme/mymobile/pix_core/i/calc.png
  83. BIN theme/mymobile/pix_core/i/checkpermissions.png
  84. BIN theme/mymobile/pix_core/i/closed.png
  85. BIN theme/mymobile/pix_core/i/cohort.png
  86. BIN theme/mymobile/pix_core/i/completion-auto-n.png
  87. BIN theme/mymobile/pix_core/i/completion-auto-y.png
  88. BIN theme/mymobile/pix_core/i/completion-manual-n.png
  89. BIN theme/mymobile/pix_core/i/completion-manual-y.png
  90. BIN theme/mymobile/pix_core/i/course.png
  91. BIN theme/mymobile/pix_core/i/cross_red_big.png
  92. BIN theme/mymobile/pix_core/i/cross_red_small.png
  93. BIN theme/mymobile/pix_core/i/db.png
  94. BIN theme/mymobile/pix_core/i/edit.png
  95. BIN theme/mymobile/pix_core/i/email.png
  96. BIN theme/mymobile/pix_core/i/files.png
  97. BIN theme/mymobile/pix_core/i/filter.png
  98. BIN theme/mymobile/pix_core/i/flagged.png
  99. BIN theme/mymobile/pix_core/i/grades.png
  100. BIN theme/mymobile/pix_core/i/group.png
  101. BIN theme/mymobile/pix_core/i/guest.png
  102. BIN theme/mymobile/pix_core/i/info.png
  103. BIN theme/mymobile/pix_core/i/item.png
  104. BIN theme/mymobile/pix_core/i/lock.png
  105. BIN theme/mymobile/pix_core/i/log.png
  106. BIN theme/mymobile/pix_core/i/mail.png
  107. BIN theme/mymobile/pix_core/i/menu.png
  108. BIN theme/mymobile/pix_core/i/navigationitem.png
  109. BIN theme/mymobile/pix_core/i/new.png
  110. BIN theme/mymobile/pix_core/i/news.png
  111. BIN theme/mymobile/pix_core/i/open.png
  112. BIN theme/mymobile/pix_core/i/payment.png
  113. BIN theme/mymobile/pix_core/i/publish.png
  114. BIN theme/mymobile/pix_core/i/reload.png
  115. BIN theme/mymobile/pix_core/i/report.png
  116. BIN theme/mymobile/pix_core/i/return.png
  117. BIN theme/mymobile/pix_core/i/rss.png
  118. BIN theme/mymobile/pix_core/i/search.png
  119. BIN theme/mymobile/pix_core/i/stats.png
  120. BIN theme/mymobile/pix_core/i/switch.png
  121. BIN theme/mymobile/pix_core/i/unflagged.png
  122. BIN theme/mymobile/pix_core/i/unlock.png
  123. BIN theme/mymobile/pix_core/i/user.png
  124. BIN theme/mymobile/pix_core/i/users.png
  125. BIN theme/mymobile/pix_core/req.png
  126. BIN theme/mymobile/pix_core/t/add.png
  127. BIN theme/mymobile/pix_core/t/adddir.png
  128. BIN theme/mymobile/pix_core/t/addfile.png
  129. BIN theme/mymobile/pix_core/t/clear.png
  130. BIN theme/mymobile/pix_core/t/collapsed.png
  131. BIN theme/mymobile/pix_core/t/delete.png
  132. BIN theme/mymobile/pix_core/t/down.png
  133. BIN theme/mymobile/pix_core/t/edit.png
  134. BIN theme/mymobile/pix_core/t/email.png
  135. BIN theme/mymobile/pix_core/t/expanded.png
  136. BIN theme/mymobile/pix_core/t/groupn.png
  137. BIN theme/mymobile/pix_core/t/hiddenuntil.png
  138. BIN theme/mymobile/pix_core/t/hideuntil.png
  139. BIN theme/mymobile/pix_core/t/left.png
  140. BIN theme/mymobile/pix_core/t/lock.png
  141. BIN theme/mymobile/pix_core/t/log.png
  142. BIN theme/mymobile/pix_core/t/message.png
  143. BIN theme/mymobile/pix_core/t/move.png
  144. BIN theme/mymobile/pix_core/t/portfolioadd.png
  145. BIN theme/mymobile/pix_core/t/preview.png
  146. BIN theme/mymobile/pix_core/t/ranges.png
  147. BIN theme/mymobile/pix_core/t/reload.png
  148. BIN theme/mymobile/pix_core/t/restore.png
  149. BIN theme/mymobile/pix_core/t/right.png
  150. BIN theme/mymobile/pix_core/t/unlock.png
  151. BIN theme/mymobile/pix_core/t/up.png
  152. BIN theme/mymobile/pix_core/t/user.png
  153. BIN theme/mymobile/pix_core/u/f1.png
  154. BIN theme/mymobile/pix_core/u/f2.png
  155. BIN theme/mymobile/pix_core/u/user100.png
  156. BIN theme/mymobile/pix_core/u/user35.png
  157. BIN theme/mymobile/pix_plugins/mod/assignment/icon.png
  158. BIN theme/mymobile/pix_plugins/mod/book/icon.png
  159. BIN theme/mymobile/pix_plugins/mod/chat/icon.png
  160. BIN theme/mymobile/pix_plugins/mod/choice/icon.png
  161. BIN theme/mymobile/pix_plugins/mod/data/icon.png
  162. BIN theme/mymobile/pix_plugins/mod/feedback/icon.png
  163. BIN theme/mymobile/pix_plugins/mod/folder/icon.png
  164. BIN theme/mymobile/pix_plugins/mod/forum/icon.png
  165. BIN theme/mymobile/pix_plugins/mod/glossary/icon.png
  166. BIN theme/mymobile/pix_plugins/mod/glossary/print.png
  167. BIN theme/mymobile/pix_plugins/mod/label/icon.png
  168. BIN theme/mymobile/pix_plugins/mod/lams/icon.png
  169. BIN theme/mymobile/pix_plugins/mod/lesson/icon.png
  170. BIN theme/mymobile/pix_plugins/mod/mail/icon.png
  171. BIN theme/mymobile/pix_plugins/mod/page/icon.png
  172. BIN theme/mymobile/pix_plugins/mod/quiz/icon.png
  173. BIN theme/mymobile/pix_plugins/mod/resource/icon.png
  174. BIN theme/mymobile/pix_plugins/mod/scorm/icon.png
  175. BIN theme/mymobile/pix_plugins/mod/survey/icon.png
  176. BIN theme/mymobile/pix_plugins/mod/wiki/icon.png
  177. +0 −16 theme/mymobile/readme_moodle.txt
  178. +48 −28 theme/mymobile/renderers.php
  179. +15 −7 theme/mymobile/settings.php
  180. +112 −84 theme/mymobile/style/core.css
  181. +0 −2,051 theme/mymobile/style/jmobile11.css
  182. +0 −62 theme/mymobile/style/jmobile11_rtl.css
  183. +2,332 −0 theme/mymobile/style/jmobile120.css
  184. +4 −0 theme/mymobile/style/media.css
  185. +2 −2 theme/mymobile/version.php
View
19 theme/mymobile/config.php 100644 → 100755
@@ -34,8 +34,7 @@
// Set the stylesheets that we want to include for this theme
$THEME->sheets = array(
- 'jmobile11',
- 'jmobile11_rtl',
+ 'jmobile120',
'core',
'media'
);
@@ -105,34 +104,34 @@
'popup' => array(
'file' => 'embedded.php',
'regions' => array(),
- 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true),
+ 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true),
),
'frametop' => array(
'file' => 'general.php',
'regions' => array(),
- 'options' => array('nofooter'=>true, 'nocoursefooter'=>true),
+ 'options' => array('nofooter'=>true),
),
'maintenance' => array(
'file' => 'general.php',
'regions' => array(),
- 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true),
+ 'options' => array('nofooter'=>true, 'nonavbar'=>true),
),
'embedded' => array(
'file' => 'embedded.php',
'regions' => array(),
- 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true),
+ 'options' => array('nofooter'=>true, 'nonavbar'=>true),
),
// Should display the content and basic headers only.
'print' => array(
'file' => 'general.php',
'regions' => array(),
- 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true, 'nocourseheaderfooter'=>true),
+ 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
),
// The pagelayout used when a redirection is occuring.
'redirect' => array(
'file' => 'embedded.php',
'regions' => array(),
- 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true),
+ 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true),
),
// The pagelayout used for reports
'report' => array(
@@ -156,9 +155,9 @@
// Add the required JavaScript to the page
$THEME->javascripts = array(
- 'jquery-1.7.1.min',
+ 'jquery-1.8.2.min',
'custom',
- 'jquery.mobile-1.1.1'
+ 'jquery.mobile-1.2.0'
);
// Sets a custom render factory to use with the theme, used when working with custom renderers.
View
@@ -1,16 +1,16 @@
$(document).bind("mobileinit", function(){
-//mobile init stuff 11/12/10
-//turn off ajax forms...
$.mobile.defaultPageTransition = "slide";
});
$(document).ready(function() {
//get some vars to start
- var siteurl = $('.mobilesiteurl').attr("id");
- var mytheme = $(".datatheme").attr("id");
- var mythemeb = $(".datathemeb").attr("id");
-
+ var siteurl = $('head meta[name=wwwroot]').attr('wwwroot');
+ var mytheme = $('head meta[name=datatheme]').attr('datatheme');
+ var mythemeb = $('head meta[name=datathemeb]').attr('datathemeb');
+ if ($('body').hasClass('ajaxno')) {
+ $.mobile.ajaxEnabled = false;
+ }
//function below does generic stuff before creating all pages...
$('div').live('pagebeforecreate', function(event, ui) {
//turn off ajax on all forms for now as of beta1
@@ -60,8 +60,8 @@ $(document).ready(function() {
return false;
});
- //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");
+ //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, .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");
@@ -81,6 +81,7 @@ $(document).ready(function() {
var meb = encodeURI($(this).val());
$(this).val("-1");
if (meb != "" && meb != "-1") {
+ $.mobile.showPageLoadingMsg();
$.mobile.changePage(meb);
}
});
@@ -89,13 +90,19 @@ $(document).ready(function() {
//course page only js
- $('div.path-site, div.path-course-view, .path-course-view div.generalpage').live('pagebeforecreate', function(event, ui) {
+ $('div.path-course-view, .path-course-view div.generalpage').live('pagebeforecreate', function(event, ui) {
//course listing
- $('.section li img.activityicon').addClass("ui-li-icon");
- $('.course-content ul.section, .sitetopic ul.section').attr("data-role", "listview").attr("data-inset", "true").attr("data-theme", mythemeb);
+ $('.section li img').addClass("ui-li-icon");
+ $('.course-content ul.section').attr("data-role", "listview").attr("data-inset", "true").attr("data-theme", mythemeb);
+ $('.sitetopic ul.section').attr("data-role", "listview").attr("data-inset", "true").attr("data-theme", mythemeb);
+ $('.section-navigation.header.headingblock, .section-navigation.mdl-bottom').attr("data-role", "controlgroup");
+ $('.section-navigation.header.headingblock .mdl-left a, .section-navigation.mdl-bottom .mdl-left a').attr("data-role", "button").attr("data-icon", "arrow-l");
+ $('.section-navigation.header.headingblock .mdl-right a, .section-navigation.mdl-bottom .mdl-right a').attr("data-role", "button").attr("data-icon", "arrow-r").attr("data-iconpos", "right");
+ $('.section-navigation.header.headingblock .mdl-align.title, .section-navigation.mdl-bottom .mdl-align a').attr("data-role", "button");
$('.topics div.left.side').addClass("ui-bar-" + mytheme);
$('.section.hidden div.headingwrap').attr("data-theme", mythemeb);
//$('.topics #section-0 div.left.side').removeClass("ui-li ui-li-divider ui-btn ui-bar-a");
+ $('h3.section-title a').attr("data-role", "button");
$('.section .resource.modtype_resource a, .section .modtype_survey a').attr("data-ajax", "false");
//toggle completion checkmarks and form fixes
@@ -107,12 +114,6 @@ $(document).ready(function() {
this.form.submit();
return false;
});
-
- // Force the class ui-li-desc on non-detected elements.
- $('ul.section div.availabilityinfo, ul.section div.contentafterlink').addClass('ui-li-desc');
-
- // Force some classes on dimmed elements.
- $('ul.section div.dimmed_text > span').addClass('instancename');
});
//forum listing only stuff
@@ -132,10 +133,18 @@ $(document).ready(function() {
//forum discussion page only stuff
$('div#page-mod-forum-discussPAGE, #page-mod-forum-discuss div.generalpage, div.forumtype-single, .forumtype-single div.generalpage, div#page-mod-forum-postPAGE').live('pagebeforecreate',function(event, ui){
+ //remove parent post because of hash remove this if has listening is fixed
+ $('.options div.commands a').each(function(index) {
+ var url = $(this).attr("href");
+ if (url.indexOf("#") != -1) {
+ $(this).remove();
+ }
+ });
+
//actual forum posting
$('.forumpost div.row.header').addClass("ui-li ui-li-divider ui-btn ui-bar-" + mytheme);
$('.options div.commands').attr("data-role", "controlgroup").attr("data-type", "horizontal");
- $('.options div.commands a').attr("data-role", "button").attr("data-ajax", "false").attr("data-inline", "true");
+ $('.options div.commands a').attr("data-role", "button").attr("data-ajax", "false").attr("data-mini", "true").attr("data-inline", "true");
$('.forumpost div.author a').attr("data-inline", "true");
$('.options div.commands').contents().filter(function() {
return this.nodeType == 3; //Node.TEXT_NODE
@@ -150,6 +159,7 @@ $(document).ready(function() {
$('.forumpost div.row.header').addClass("ui-li ui-li-divider ui-btn ui-bar-" + mytheme);
$('div.subscribelink a').attr("data-role", "button").attr("data-inline", "true");
$('.unlist').attr("data-role", "controlgroup");
+ //$('.unlist li:last-child div.coursebox h3 a').addClass("ui-corner-bottom ui-controlgroup-last"); moved to init at bottom
$('div.coursebox a').attr("data-role", "button").attr("data-icon", "arrow-r").attr("data-iconpos", "right").attr("data-theme", mythemeb);
$('.box.categorybox').attr("data-role", "controlgroup");
$('div.categorylist div.category a').attr("data-role", "button").attr("data-theme", mythemeb);
@@ -243,21 +253,9 @@ $(document).ready(function() {
$('.path-mod-hotpot button').attr("data-role", "none");
});
- //collapsed topic only stuff
- $('div#page-course-view-topcollPAGE').live('pagebeforecreate',function(event, ui){
- $('#page-course-view-topcollPAGE ul.section').attr("data-role", "none");
- $('.section li img').removeClass("ui-li-icon");
- $.getScript('../course/format/topcoll/module.js');
- $('#page-course-view-topcollPAGE tr.cps a').attr("data-role", "button").attr("data-icon", "arrow-r");
- $('#page-course-view-topcollPAGE #thetopics').attr("data-role", "controlgroup");
- $('#page-course-view-topcollPAGE td.cps_centre').each(function(index) {
- var cpsc = $(this).text().replace('<br>','').replace(')','');
- $(this).prev('td').find('a').append('<span class="ui-li-count ui-btn-up-a ui-btn-corner-all">' + cpsc + '</span>');
- });
- });
-
///// functions below does stuff after creating page for some cleaning...
$('div').live('pageinit',function(event, ui){
+ $('div#page-site-indexPAGE .unlist li:last-child div.coursebox h3 a').addClass("ui-corner-bottom ui-controlgroup-last");
$('.path-calendar div.ui-radio label:first-child, .path-mod-lesson div.ui-radio label:first-child, #page-mod-wiki-createPAGE div.ui-radio label:first-child').addClass("afirst");
$('.forumpost div.author a').removeAttr('data-role');
//$('.questionflagimage2').removeClass("ui-btn-hidden");a#notificationyes
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.

0 comments on commit c443c95

Please sign in to comment.