X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Pman.Dialog.CoreImportUrl.js;h=e7cf715240f5880a3953b344cc1eafae61b8fd7c;hb=5ec1d21f311aa44e8eae0b4c91a3f3833f49b85e;hp=e03fe15e00d5db5375899564bf9c1e2253c9e727;hpb=d42d58839f8fc37959e76a1f5fd4da41b3c4f58e;p=Pman.Core diff --git a/Pman.Dialog.CoreImportUrl.js b/Pman.Dialog.CoreImportUrl.js index e03fe15e..e7cf7152 100644 --- a/Pman.Dialog.CoreImportUrl.js +++ b/Pman.Dialog.CoreImportUrl.js @@ -50,7 +50,10 @@ Pman.Dialog.CoreImportUrl = { listeners : { actioncomplete : function (_self, action) { - if (action.type == 'setdata') { + if (action.type == 'setdata') { + if(!_this.data.target){ + _this.form.url = baseURL + _this.data.target; + } // _this.dialog.el.mask("Loading"); // if(_this.data.id*1 > 0) // this.load({ method: 'GET', params: { '_id' : _this.data.id }});