summaryrefslogtreecommitdiff
path: root/js/App.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-18 22:05:06 +0300
committerAndrew Dolgov <[email protected]>2021-02-18 22:05:06 +0300
commitf77c17c6f00d37ac535f065589335e801824641b (patch)
tree69732c9eec70c6dd03ce7727a7d365c6645b23b3 /js/App.js
parent70fa4230268a422d0b7eef1ea223ca5cc1c14646 (diff)
add Element toggleClassName
Diffstat (limited to 'js/App.js')
-rw-r--r--js/App.js22
1 files changed, 0 insertions, 22 deletions
diff --git a/js/App.js b/js/App.js
index 0a66987ed..0055fcd4f 100644
--- a/js/App.js
+++ b/js/App.js
@@ -184,27 +184,6 @@ const App = {
if (callback) callback();
}
},
- /*enableCsrfSupport: function() {
- const _this = this;
-
- Ajax.Base.prototype.initialize = Ajax.Base.prototype.initialize.wrap(
- function (callOriginal, options) {
-
- if (_this.getInitParam("csrf_token") != undefined) {
- Object.extend(options, options || { });
-
- if (Object.isString(options.parameters))
- options.parameters = options.parameters.toQueryParams();
- else if (Object.isHash(options.parameters))
- options.parameters = options.parameters.toObject();
-
- options.parameters["csrf_token"] = _this.getInitParam("csrf_token");
- }
-
- return callOriginal(options);
- }
- );
- }, */
postCurrentWindow: function(target, params) {
const form = document.createElement("form");
@@ -663,7 +642,6 @@ const App = {
this.setLoadingProgress(30);
this.initHotkeyActions();
- //this.enableCsrfSupport();
const params = {
op: "rpc",