move addInstance call to instances plugin

This commit is contained in:
Andrew Dolgov
2013-04-01 12:31:55 +04:00
parent 00e347410e
commit 7a5103ae90
3 changed files with 50 additions and 50 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
function addInstance() {
try {
var query = "backend.php?op=dlg&method=addInstance";
var query = "backend.php?op=pluginhandler&plugin=instances&method=addInstance";
if (dijit.byId("instanceAddDlg"))
dijit.byId("instanceAddDlg").destroyRecursive();