fix #8131 - chinese translations
[Pman.Core] / Pman.Dialog.CoreProject.js
index e0ac85d..9be1ab0 100644 (file)
@@ -64,7 +64,7 @@ Pman.Dialog.CoreProject = {
 
   this.callback = cb;
   this.data = data;
-  this.dialog.show(this.data._el);
+  this.dialog.show.apply(this.dialog,  Array.prototype.slice.call(arguments).slice(2));
   if (this.form) {
    this.form.reset();
    this.form.setValues(data);
@@ -81,6 +81,7 @@ Pman.Dialog.CoreProject = {
     closable : false,
     collapsible : false,
     height : 450,
+    modal : true,
     resizable : false,
     title : _this._strings['ddb016a244ff2b895e69d25fb3b5f780'] /* Edit / Create Projects */,
     width : 470,
@@ -133,7 +134,7 @@ Pman.Dialog.CoreProject = {
         xtype : 'Form',
         method : 'POST',
         style : 'margin:10px;',
-        url : baseURL + '/Roo/Projects.php',
+        url : baseURL + '/Roo/core_project',
         listeners : {
          actioncomplete : function(_self,action)
           {
@@ -328,7 +329,7 @@ Pman.Dialog.CoreProject = {
            proxy : {
             xtype : 'HttpProxy',
             method : 'GET',
-            url : baseURL + '/Roo/Groups.php',
+            url : baseURL + '/Roo/core_group',
             xns : Roo.data,
             '|xns' : 'Roo.data'
            },