Skip to content
Permalink
Browse files

Merge branch 'MDL-36305-master' of git://github.com/FMCorz/moodle

  • Loading branch information...
Aparup Banerjee
Aparup Banerjee committed Nov 27, 2012
2 parents f6399f7 + ff63763 commit 0319316444d8c16a8f2db395c448f48795acb4d7
@@ -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");

0 comments on commit 0319316

Please sign in to comment.
You can’t perform that action at this time.