MDL-44475 editor_atto: Stop using deprecating functionality
This commit is contained in:
committed by
Damyon Wiese
parent
c9292b18a3
commit
117f9f04dc
+3
-5
@@ -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"
|
||||
]
|
||||
});
|
||||
|
||||
+3
-3
File diff suppressed because one or more lines are too long
+3
-5
@@ -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
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user