Skip to content
Permalink
Browse files

Fix batch action permissions not applied to new nodes loaded

  • Loading branch information...
Christopher Joe
Christopher Joe committed Aug 2, 2016
1 parent a9d66b5 commit 7448fb7baebef7c7d6d8d1efb491c8b6f9b90b03
@@ -40,6 +40,20 @@
}
},

onmatch: function onmatch() {
var self = this;

self.getTree().bind('load_node.jstree', function (e, data) {
self.refreshSelected();
});
},

onunmatch: function onunmatch() {
var self = this;

self.getTree().unbind('load_node.jstree');
},

registerDefault: function registerDefault() {
this.register(ss.config.adminUrl + 'pages/batchactions/publish', function (ids) {
var confirmed = confirm(_i18n2.default.inject(_i18n2.default._t("CMSMAIN.BATCH_PUBLISH_PROMPT", "You have {num} page(s) selected.\n\nDo you really want to publish?"), { 'num': ids.length }));
Oops, something went wrong.

0 comments on commit 7448fb7

Please sign in to comment.
You can’t perform that action at this time.