Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Never call the delete method of a Map directly, for backward IE compa…
Browse files Browse the repository at this point in the history
…tibility.
  • Loading branch information
cdujeu committed Sep 30, 2015
1 parent cc2c89c commit 0a2fdd8
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/src/plugins/gui.ajax/class.AJXP_ClientDriver.php
Expand Up @@ -370,7 +370,7 @@ public function nodeChangeBookmarkMetadata($fromNode=null, $toNode=null, $copy=f
} else {
$toNode->copyOrMoveMetadataFromNode($fromNode, "ajxp_bookmarked", "move", true, AJXP_METADATA_SCOPE_REPOSITORY, true);
}
AJXP_Controller::applyHook("msg.instant", array("<reload_bookmarks/>", $fromNode->getRepositoryId()));
AJXP_Controller::applyHook("msg.instant", array("<reload_bookmarks/>", $fromNode->getRepositoryId(), AuthService::getLoggedUser()->getId()));
}

public static function filterXml(&$value)
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/gui.ajax/res/js/ajaxplorer_boot.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions core/src/plugins/gui.ajax/res/js/core/model/Controller.js
Expand Up @@ -186,6 +186,9 @@ var Controller = (function (_Observable) {

Controller.prototype.parseXmlMessage = function parseXmlMessage(xmlDoc) {
Logger.log("Controller.parseXmlMessage() is deprecated, use PydioApi instead");
if (window.console && window.console.trace) {
Logger.log(console.trace());
}
return PydioApi.getClient().parseXmlMessage(xmlDoc);
};

Expand Down
3 changes: 3 additions & 0 deletions core/src/plugins/gui.ajax/res/js/es6/model/Controller.es6
Expand Up @@ -174,6 +174,9 @@ class Controller extends Observable{
*/
parseXmlMessage(xmlDoc){
Logger.log("Controller.parseXmlMessage() is deprecated, use PydioApi instead");
if(window.console && window.console.trace){
Logger.log(console.trace());
}
return PydioApi.getClient().parseXmlMessage(xmlDoc);
}

Expand Down
Expand Up @@ -80,7 +80,7 @@ Class.create("AjxpBootstrap", {
if(pydio.getController().actions._object){
pydio.getController().actions.unset("ext_select");
}else{
//pydio.getController().actions.delete("ext_select");
pydio.getController().actions['delete']("ext_select");
}
pydio.getController().fireContextChange();
pydio.getController().fireSelectionChange();
Expand Down

0 comments on commit 0a2fdd8

Please sign in to comment.