Permalink
Browse files

MDL-36305. Reply button in forums not shown in MyMobile theme

Updates jquery mobile from version 1.1.0 to 1.1.1 and shows the "Show parent" button again in forum posts.
  • Loading branch information...
Juan Segarra Montesinos authored and FMCorz committed Nov 10, 2012
1 parent 2d7c5ee commit ff63763092b2b896ee69aa7ac77c38338e320462
@@ -158,7 +158,7 @@
$THEME->javascripts = array(
'jquery-1.7.1.min',
'custom',
- 'jquery.mobile-1.1.0'
+ 'jquery.mobile-1.1.1'
);
// Sets a custom render factory to use with the theme, used when working with custom renderers.
@@ -127,14 +127,6 @@ $(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");
Oops, something went wrong.

0 comments on commit ff63763

Please sign in to comment.