Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-35959 Correct footer for M.core.dialogue

  • Loading branch information...
commit a6e0e0bf9a9825fbe97c63cdcc4138809d961fa0 1 parent a04cf7d
Andrew Nicols andrewnicols authored samhemelryk committed
2  enrol/yui/notification/assets/skins/sam/notification.css
@@ -6,7 +6,7 @@
6 6 .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;}
7 7 .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;}
8 8 .moodle-dialogue-base .moodle-dialogue-bd {padding:5px; overflow: auto;}
9   -.moodle-dialogue-base .moodle-dialogue-fd {}
  9 +.moodle-dialogue-base .moodle-dialogue-ft {}
10 10
11 11 .moodle-dialogue-confirm .confirmation-dialogue {text-align:center;}
12 12 .moodle-dialogue-confirm .confirmation-message {margin:0.5em 1em;}
6 enrol/yui/notification/notification.js
@@ -21,7 +21,7 @@ var DIALOGUE_NAME = 'Moodle dialogue',
21 21 HEADER : 'moodle-dialogue-hd',
22 22 BODY : 'moodle-dialogue-bd',
23 23 CONTENT : 'moodle-dialogue-content',
24   - FOOTER : 'moodle-dialogue-fd',
  24 + FOOTER : 'moodle-dialogue-ft',
25 25 HIDDEN : 'hidden',
26 26 LIGHTBOX : 'moodle-dialogue-lightbox'
27 27 };
@@ -35,7 +35,7 @@ var DIALOGUE = function(config) {
35 35 .append(C('<div id="'+id+'" class="'+CSS.WRAP+'"></div>')
36 36 .append(C('<div class="'+CSS.HEADER+' yui3-widget-hd"></div>'))
37 37 .append(C('<div class="'+CSS.BODY+' yui3-widget-bd"></div>'))
38   - .append(C('<div class="'+CSS.CONTENT+' yui3-widget-ft"></div>')));
  38 + .append(C('<div class="'+CSS.FOOTER+' yui3-widget-ft"></div>')));
39 39 Y.one(document.body).append(config.notificationBase);
40 40 config.srcNode = '#'+id;
41 41 config.width = config.width || '400px';
@@ -372,4 +372,4 @@ M.core.confirm = CONFIRM;
372 372 M.core.exception = EXCEPTION;
373 373 M.core.ajaxException = AJAXEXCEPTION;
374 374
375   -}, '@VERSION@', {requires:['base','node','overlay','event-key', 'moodle-enrol-notification-skin']});
  375 +}, '@VERSION@', {requires:['base','node','overlay','event-key', 'moodle-enrol-notification-skin']});

0 comments on commit a6e0e0b

Please sign in to comment.
Something went wrong with that request. Please try again.