Skip to content

Commit

Permalink
Migrated VirtualHosts to Configuration Tree
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Rossi committed Dec 24, 2015
1 parent 745647d commit fcc18d2
Show file tree
Hide file tree
Showing 2 changed files with 206 additions and 532 deletions.
7 changes: 5 additions & 2 deletions src/main/webapp/resources/net/apachegui/ConfigurationTree.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ define([
var item = this._getTreeItem(itemId, items);

if (this.currentTreeItem.type != this._getItemProperty(item,'type') && this.currentTreeItem.value != this._getItemProperty(item, 'value')) {
//TODO out of date tree
this.onOutOfDateError();

return null;
}
Expand Down Expand Up @@ -320,7 +320,6 @@ define([
var thisdialog = net.apachegui.Util.noCloseDialog('Modifying', 'Modifying Please Wait...');
thisdialog.show();

that.checkModifiedTimes = false;
request.post("../web/ConfigurationTree", {
data : {
option : 'editLine',
Expand Down Expand Up @@ -523,6 +522,10 @@ define([
return true;
},

onOutOfDateError: function() {
return true;
},

onAddDisabledError: function() {
return true;
},
Expand Down
Loading

0 comments on commit fcc18d2

Please sign in to comment.