README.txt
[gitlive] / RemoteEdit.bjs
index 04cdb91..2759ce9 100644 (file)
@@ -18,7 +18,7 @@
             "xtype": "Dialog",
             "|deletable": true,
             "|modal": true,
-            "|show": "function(c) {\n    \n    if (!this.el) {\n        this.init();\n    }\n    var _this = this;\n    //this.get('/remotesStore').load();\n    this.get('/remoteURL').el.get_child().set_text('');\n    this.get('/remoteName').el.set_text('');\n    \n    \n    this.el.show_all();\n    \n    var run_ret = this.el.run();\n    if (run_ret < 1 ) {\n        return  \"DONE\";\n    }\n    print(\"RUN RETURN : \" + run_ret);\n    return \"DONE\";\n    \n}\n",
+            "|show": "function(c) {\n    \n    if (!this.el) {\n        this.init();\n    }\n    var _this = this;\n    //this.get('/remotesStore').load();\n    this.get('/remoteURL').el.get_child().set_text('');\n    this.get('/remoteName').el.set_text('');\n    \n    \n    this.el.show_all();\n    \n    var run_ret = this.el.run();\n    if (run_ret < 1 ) {\n        return false;\n    }\n    var ret=  {\n        url :  this.get('/remoteURL').el.get_child().get_text(),\n        name :  this.get('/remoteName').el.get_text()\n    };\n    \n    return ret;\n    \n    \n    \n}\n",
             "|xns": "Gtk",
             "items": [
                 {