minor fixes for previous

This commit is contained in:
Andrew Dolgov 2015-02-03 14:42:20 +03:00
parent efcc5d365d
commit 119ba03bd4
2 changed files with 2 additions and 2 deletions

View File

@ -220,7 +220,7 @@
} }
} }
return false; return "";
} }
function make_runtime_info() { function make_runtime_info() {

View File

@ -770,7 +770,7 @@ function parse_runtime_info(data) {
if (k == "update_result") { if (k == "update_result") {
var updatesIcon = dijit.byId("updatesIcon").domNode; var updatesIcon = dijit.byId("updatesIcon").domNode;
if (v != "") { if (v) {
Element.show(updatesIcon); Element.show(updatesIcon);
} else { } else {
Element.hide(updatesIcon); Element.hide(updatesIcon);