Browse files

MDL-35959 Correct footer for M.core.dialogue

  • Loading branch information...
1 parent ccd90e7 commit e4a8f00c037d7e8cf53231fe54ec3e8595c80e93 @andrewnicols andrewnicols committed Oct 10, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/yui/notification/assets/skins/sam/notification.css
  2. +2 −2 lib/yui/notification/notification.js
View
2 lib/yui/notification/assets/skins/sam/notification.css
@@ -6,7 +6,7 @@
.moodle-dialogue-base .moodle-dialogue-hd {font-size:110%;color:inherit;font-weight:bold;text-align:left;padding:5px 6px;margin:0;border-bottom:1px solid #ccc;background-color:#f6f6f6;}
.moodle-dialogue-base .closebutton {background-image:url(sprite.png);width:25px;height:15px;background-repeat:no-repeat;float:right;vertical-align:middle;display:inline-block;cursor:pointer;}
.moodle-dialogue-base .moodle-dialogue-bd {padding:5px; overflow: auto;}
-.moodle-dialogue-base .moodle-dialogue-fd {}
+.moodle-dialogue-base .moodle-dialogue-ft {}
.moodle-dialogue-confirm .confirmation-dialogue {text-align:center;}
.moodle-dialogue-confirm .confirmation-message {margin:0.5em 1em;}
View
4 lib/yui/notification/notification.js
@@ -21,7 +21,7 @@ var DIALOGUE_NAME = 'Moodle dialogue',
HEADER : 'moodle-dialogue-hd',
BODY : 'moodle-dialogue-bd',
CONTENT : 'moodle-dialogue-content',
- FOOTER : 'moodle-dialogue-fd',
+ FOOTER : 'moodle-dialogue-ft',
HIDDEN : 'hidden',
LIGHTBOX : 'moodle-dialogue-lightbox'
};
@@ -35,7 +35,7 @@ var DIALOGUE = function(config) {
.append(C('<div id="'+id+'" class="'+CSS.WRAP+'"></div>')
.append(C('<div class="'+CSS.HEADER+' yui3-widget-hd"></div>'))
.append(C('<div class="'+CSS.BODY+' yui3-widget-bd"></div>'))
- .append(C('<div class="'+CSS.CONTENT+' yui3-widget-ft"></div>')));
+ .append(C('<div class="'+CSS.FOOTER+' yui3-widget-ft"></div>')));
Y.one(document.body).append(config.notificationBase);
config.srcNode = '#'+id;
config.width = config.width || '400px';

0 comments on commit e4a8f00

Please sign in to comment.