MDL-44475 editor_atto: Stop using deprecating functionality

This commit is contained in:
Andrew Nicols
2014-03-26 10:01:45 +08:00
committed by Damyon Wiese
parent c9292b18a3
commit 117f9f04dc
5 changed files with 12 additions and 18 deletions
@@ -459,16 +459,14 @@ M.editor_atto = M.editor_atto || {
bodyContent : menu,
visible : false,
width: overlaywidth + 'em',
lightbox: false,
closeButton: false,
center : false
center : false,
render: true
});
M.editor_atto.menus[buttonpath + '_' + elementid] = overlay;
overlay.align(button, [Y.WidgetPositionAlign.TL, Y.WidgetPositionAlign.BL]);
overlay.hide();
overlay.headerNode.hide();
overlay.render();
},
/**
@@ -1542,6 +1540,6 @@ Y.NodeList.importMethod(Y.Node.prototype, "cleanHTML");
"event-simulate",
"event-custom",
"yui-throttle",
"moodle-core-notification"
"moodle-core-notification-dialogue"
]
});
File diff suppressed because one or more lines are too long
@@ -459,16 +459,14 @@ M.editor_atto = M.editor_atto || {
bodyContent : menu,
visible : false,
width: overlaywidth + 'em',
lightbox: false,
closeButton: false,
center : false
center : false,
render: true
});
M.editor_atto.menus[buttonpath + '_' + elementid] = overlay;
overlay.align(button, [Y.WidgetPositionAlign.TL, Y.WidgetPositionAlign.BL]);
overlay.hide();
overlay.headerNode.hide();
overlay.render();
},
/**
@@ -1542,6 +1540,6 @@ Y.NodeList.importMethod(Y.Node.prototype, "cleanHTML");
"event-simulate",
"event-custom",
"yui-throttle",
"moodle-core-notification"
"moodle-core-notification-dialogue"
]
});
+2 -4
View File
@@ -457,16 +457,14 @@ M.editor_atto = M.editor_atto || {
bodyContent : menu,
visible : false,
width: overlaywidth + 'em',
lightbox: false,
closeButton: false,
center : false
center : false,
render: true
});
M.editor_atto.menus[buttonpath + '_' + elementid] = overlay;
overlay.align(button, [Y.WidgetPositionAlign.TL, Y.WidgetPositionAlign.BL]);
overlay.hide();
overlay.headerNode.hide();
overlay.render();
},
/**
@@ -9,7 +9,7 @@
"event-simulate",
"event-custom",
"yui-throttle",
"moodle-core-notification"
"moodle-core-notification-dialogue"
]
},
"moodle-editor_atto-editor-shortcut": {