Merge branch 'develop' of https://github.com/wez3/domoboard into develop

This commit is contained in:
squandor 2017-01-21 22:02:56 +01:00
commit d0b81261d3
3 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
1.0.5
1.0.6

View File

@ -19,7 +19,7 @@ def getVersion():
return version
def performUpgrade():
git.cmd.Git('.').pull("https://github.com/wez3/domoboard.git")
git.cmd.Git('.').pull()
return "Upgrade completed."
def getCurrentBranch():

View File

@ -439,7 +439,7 @@ function checkVersion(branch) {
} else {
dataFloat = data.split(",")[1];
}
if (Number(dataFloat) > Number(version)) {
if (dataFloat > version) {
document.getElementById('curver').innerHTML = version;
document.getElementById('newver').innerHTML = dataFloat;
$( "#version_div" ).removeClass("hide_update");
@ -460,7 +460,7 @@ function checkVersionSettings(branch) {
} else {
dataFloat = data.split(",")[1];
}
if (Number(dataFloat) > Number(version)) {
if (dataFloat > version) {
$( "#updateView_available" ).removeClass("hide_update");
$( "#updateView_available" ).addClass("show_update");
document.getElementById('curver_settings').innerHTML = version;