Rev1069, Allow to specify window parameters
This commit is contained in:
parent
34c5a7ccde
commit
6496a6125f
3 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,7 @@ class Config(object):
|
||||||
|
|
||||||
def __init__(self, argv):
|
def __init__(self, argv):
|
||||||
self.version = "0.3.6"
|
self.version = "0.3.6"
|
||||||
self.rev = 1062
|
self.rev = 1069
|
||||||
self.argv = argv
|
self.argv = argv
|
||||||
self.action = None
|
self.action = None
|
||||||
self.config_file = "zeronet.conf"
|
self.config_file = "zeronet.conf"
|
||||||
|
|
|
@ -158,7 +158,7 @@ class Wrapper
|
||||||
w.opener = null
|
w.opener = null
|
||||||
w.location = params
|
w.location = params
|
||||||
else
|
else
|
||||||
w = window.open(null, params[1])
|
w = window.open(null, params[1], params[2])
|
||||||
w.opener = null
|
w.opener = null
|
||||||
w.location = params[0]
|
w.location = params[0]
|
||||||
|
|
||||||
|
|
|
@ -955,7 +955,7 @@ jQuery.extend( jQuery.easing,
|
||||||
w.opener = null;
|
w.opener = null;
|
||||||
return w.location = params;
|
return w.location = params;
|
||||||
} else {
|
} else {
|
||||||
w = window.open(null, params[1]);
|
w = window.open(null, params[1], params[2]);
|
||||||
w.opener = null;
|
w.opener = null;
|
||||||
return w.location = params[0];
|
return w.location = params[0];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue