Rev1755, wrapperSetTitle command
This commit is contained in:
parent
052b795fa5
commit
5adf4c31cb
3 changed files with 5 additions and 1 deletions
|
@ -9,7 +9,7 @@ class Config(object):
|
|||
|
||||
def __init__(self, argv):
|
||||
self.version = "0.5.1"
|
||||
self.rev = 1754
|
||||
self.rev = 1755
|
||||
self.argv = argv
|
||||
self.action = None
|
||||
self.config_file = "zeronet.conf"
|
||||
|
|
|
@ -111,6 +111,8 @@ class Wrapper
|
|||
@actionPrompt(message)
|
||||
else if cmd == "wrapperSetViewport" # Set the viewport
|
||||
@actionSetViewport(message)
|
||||
else if cmd == "wrapperSetTitle"
|
||||
$("head title").text(message.params)
|
||||
else if cmd == "wrapperReload" # Reload current page
|
||||
@actionReload(message)
|
||||
else if cmd == "wrapperGetLocalStorage"
|
||||
|
|
|
@ -917,6 +917,8 @@ jQuery.extend( jQuery.easing,
|
|||
return this.actionPrompt(message);
|
||||
} else if (cmd === "wrapperSetViewport") {
|
||||
return this.actionSetViewport(message);
|
||||
} else if (cmd === "wrapperSetTitle") {
|
||||
return $("head title").text(message.params);
|
||||
} else if (cmd === "wrapperReload") {
|
||||
return this.actionReload(message);
|
||||
} else if (cmd === "wrapperGetLocalStorage") {
|
||||
|
|
Loading…
Reference in a new issue