Skip to content
Snippets Groups Projects
Commit 2693bd3b authored by Piotr Gawron's avatar Piotr Gawron
Browse files

admin panel doesn't have project associated with it

parent cec3be01
No related branches found
No related tags found
1 merge request!369Resolve "Functionality to update Terms of Service"
......@@ -30,7 +30,6 @@ function Admin(options) {
if (!(options instanceof CustomMapOptions)) {
options = new CustomMapOptions(options);
}
self.setProject(options.getProject());
self.setElement(options.getElement());
self.setConfiguration(options.getConfiguration());
......@@ -119,19 +118,11 @@ Admin.prototype.addTab = function (params, navElement, contentElement) {
this._panels.push(new params.panelClass({
element: contentDiv,
name: params.name,
project: self.getProject(),
configuration: self.getConfiguration(),
serverConnector: self.getServerConnector()
}));
};
Admin.prototype.setProject = function (project) {
this._project = project;
};
Admin.prototype.getProject = function () {
return this._project;
};
Admin.prototype.setElement = function (element) {
this._element = element;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment