Commit 124f520a authored by Piotr Gawron's avatar Piotr Gawron
Browse files

jquery dependency added where necessary

parent 4e1826b2
"use strict";
var $ = require('jquery');
var AbstractGuiElement = require('../AbstractGuiElement');
var Functions = require('../../Functions');
......
"use strict";
var $ = require('jquery');
var AbstractAdminPanel = require('./AbstractAdminPanel');
var PrivilegeType = require('../../map/data/PrivilegeType');
var ConfigurationType = require('../../ConfigurationType');
......
"use strict";
var Promise = require("bluebird");
var $ = require('jquery');
var AbstractGuiElement = require('../AbstractGuiElement');
var Annotation = require('../../map/data/Annotation');
......
......@@ -2,6 +2,7 @@
/* exported logger */
var Promise = require("bluebird");
var $ = require('jquery');
var AbstractGuiElement = require('../AbstractGuiElement');
var AddOverlayDialog = require('../AddOverlayDialog');
......
"use strict";
var $ = require('jquery');
var Promise = require("bluebird");
var xss = require('xss');
......
"use strict";
var $ = require('jquery');
var AbstractAdminPanel = require('./AbstractAdminPanel');
var EditGenomeDialog = require('./EditGenomeDialog');
......
"use strict";
var Promise = require("bluebird");
var $ = require('jquery');
/* exported logger */
......
"use strict";
/* exported logger */
var $ = require('jquery');
var AbstractAdminPanel = require('./AbstractAdminPanel');
var AddProjectDialog = require('./AddProjectDialog');
......
"use strict";
var $ = require('jquery');
var AbstractAdminPanel = require('./AbstractAdminPanel');
var AddPluginDialog = require('./AddPluginDialog');
......
"use strict";
var $ = require('jquery');
var Promise = require('bluebird');
var PrivilegeType = require('../../map/data/PrivilegeType');
......@@ -299,7 +301,7 @@ UsersAdminPanel.prototype.addUpdateListener = function (user, dataTableRow) {
}
}
var listener = function () {
var login = $.escapeSelector(user.getLogin());
var login = Functions.escapeSelector(user.getLogin());
self.userToTableRow(user, dataTableRow);
var row = $($("[name='usersTable']", self.getElement())[0]).DataTable().row("#" + login);
if (row.length > 0) {
......
......@@ -2,6 +2,7 @@
/* exported logger */
var $ = require('jquery');
var Panel = require('../Panel');
var GuiConnector = require('../../GuiConnector');
......
"use strict";
/* exported logger */
var $ = require('jquery');
var AbstractExportPanel = require('./AbstractExportPanel');
var ValidationError = require('../../ValidationError');
......
"use strict";
/* exported logger */
var $ = require('jquery');
var AbstractExportPanel = require('./AbstractExportPanel');
var Functions = require('../../Functions');
......
"use strict";
/* exported logger */
var $ = require('jquery');
var AbstractExportPanel = require('./AbstractExportPanel');
......
......@@ -2,6 +2,7 @@
/* exported logger */
var $ = require('jquery');
var Promise = require("bluebird");
var AbstractDbOverlay = require('../../map/overlay/AbstractDbOverlay');
......
"use strict";
/* exported logger */
var $ = require('jquery');
var Alias = require('../../map/data/Alias');
var ConfigurationType = require('../../ConfigurationType');
......@@ -1133,7 +1134,7 @@ GuiUtils.prototype.addTab = function (abstractGuiElement, params) {
};
if (params.options !== undefined) {
options = jQuery.extend(options, params.options);
options = $.extend(options, params.options);
}
var panel = new params.panelClass(options);
......
"use strict";
/* exported logger */
var $ = require('jquery');
var AddOverlayDialog = require('../AddOverlayDialog');
var Panel = require('../Panel');
......
"use strict";
/* exported logger */
var $ = require('jquery');
var ConfigurationType = require('../../ConfigurationType');
var GuiConnector = require('../../GuiConnector');
......
"use strict";
var Promise = require("bluebird");
var $ = require('jquery');
/* exported logger */
......
"use strict";
var Promise = require("bluebird");
var $ = require('jquery');
/* exported logger */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment