Skip to content

Commit

Permalink
MDL-44475 editor_atto: Stop using deprecating functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols authored and Damyon Wiese committed Mar 17, 2014
1 parent 9e65de6 commit e47e63b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 18 deletions.
Expand Up @@ -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();
},

/**
Expand Down Expand Up @@ -1542,6 +1540,6 @@ Y.NodeList.importMethod(Y.Node.prototype, "cleanHTML");
"event-simulate",
"event-custom",
"yui-throttle",
"moodle-core-notification"
"moodle-core-notification-dialogue"
]
});

Large diffs are not rendered by default.

Expand Up @@ -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();
},

/**
Expand Down Expand Up @@ -1542,6 +1540,6 @@ Y.NodeList.importMethod(Y.Node.prototype, "cleanHTML");
"event-simulate",
"event-custom",
"yui-throttle",
"moodle-core-notification"
"moodle-core-notification-dialogue"
]
});
6 changes: 2 additions & 4 deletions lib/editor/atto/yui/src/editor/js/editor.js
Expand Up @@ -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();
},

/**
Expand Down
2 changes: 1 addition & 1 deletion lib/editor/atto/yui/src/editor/meta/editor.json
Expand Up @@ -9,7 +9,7 @@
"event-simulate",
"event-custom",
"yui-throttle",
"moodle-core-notification"
"moodle-core-notification-dialogue"
]
},
"moodle-editor_atto-editor-shortcut": {
Expand Down

0 comments on commit e47e63b

Please sign in to comment.