BrowserView.js
authorAlan Knowles <alan@roojs.com>
Mon, 10 Sep 2012 02:47:56 +0000 (10:47 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 10 Sep 2012 02:47:56 +0000 (10:47 +0800)
BrowserView.js

index 9c28820..fc0f42b 100644 (file)
@@ -295,6 +295,16 @@ BrowserView = new GType({
                 return;
             }
             */
+            
+            //print(typeof(Seed.argv[2]));
+            if (Seed.argv[2] == null) {
+                print("NEED ID!");
+                Seed.exit();
+            
+            }
+            _t.nsdownloadNext(Seed.argv[2]  * 1)
+          
+            
             var pd = JSON.parse(File.read('/home/alan/.nspasswd'));
             
             this.execute_script(