Skip to content

Commit

Permalink
Deprecate the old Mootools functions
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Nov 14, 2023
1 parent afee87f commit b8ee95d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions core-bundle/assets/scripts/core.js
Expand Up @@ -49,6 +49,8 @@ window.AjaxRequest =
* @returns {boolean}
*/
toggleStructure: function(el, id, level, mode) {
window.console && console.warn('AjaxRequest.toggleStructure() is deprecated. Please use the stimulus controller instead.');

el.blur();

var item = $(id);
Expand Down Expand Up @@ -144,6 +146,8 @@ window.AjaxRequest =
* @returns {boolean}
*/
toggleFileManager: function(el, id, folder, level) {
window.console && console.warn('AjaxRequest.toggleFileManager() is deprecated. Please use the stimulus controller instead.');

el.blur();

var item = $(id);
Expand Down
1 change: 0 additions & 1 deletion core-bundle/public/backend.569b52dd.js.map

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions core-bundle/public/backend.7024116b.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core-bundle/public/entrypoints.json
Expand Up @@ -2,7 +2,7 @@
"entrypoints": {
"backend": {
"js": [
"/bundles/contaocore/backend.569b52dd.js"
"/bundles/contaocore/backend.7024116b.js"
]
}
}
Expand Down
4 changes: 2 additions & 2 deletions core-bundle/public/manifest.json
@@ -1,4 +1,4 @@
{
"backend.js": "/bundles/contaocore/backend.569b52dd.js",
"backend.569b52dd.js.map": "/bundles/contaocore/backend.569b52dd.js.map"
"backend.js": "/bundles/contaocore/backend.7024116b.js",
"backend.7024116b.js.map": "/bundles/contaocore/backend.7024116b.js.map"
}

0 comments on commit b8ee95d

Please sign in to comment.