Rev1069, Allow to specify window parameters

This commit is contained in:
HelloZeroNet 2016-03-20 21:33:13 +01:00
parent 34c5a7ccde
commit 6496a6125f
3 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@ class Config(object):
def __init__(self, argv):
self.version = "0.3.6"
self.rev = 1062
self.rev = 1069
self.argv = argv
self.action = None
self.config_file = "zeronet.conf"

View file

@ -158,7 +158,7 @@ class Wrapper
w.opener = null
w.location = params
else
w = window.open(null, params[1])
w = window.open(null, params[1], params[2])
w.opener = null
w.location = params[0]

View file

@ -955,7 +955,7 @@ jQuery.extend( jQuery.easing,
w.opener = null;
return w.location = params;
} else {
w = window.open(null, params[1]);
w = window.open(null, params[1], params[2]);
w.opener = null;
return w.location = params[0];
}