projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add note field to tester.html WRIS-3
[mkws-moved-to-github.git]
/
src
/
mkws-widget-main.js
diff --git
a/src/mkws-widget-main.js
b/src/mkws-widget-main.js
index
c1a58ef
..
463172d
100644
(file)
--- a/
src/mkws-widget-main.js
+++ b/
src/mkws-widget-main.js
@@
-251,7
+251,7
@@
mkws.registerWidgetType('ranking', function() {
output.showPerPage = this.config.show_perpage;
var order = this.team.sortOrder();
output.showPerPage = this.config.show_perpage;
var order = this.team.sortOrder();
- this.log("making sort, sortOrder = '" + order + "'");
+ this.info("making sort, sortOrder = '" + order + "'");
for (var i = 0; i < this.config.sort_options.length; i++) {
var cur = {};
var opt = this.config.sort_options[i];
for (var i = 0; i < this.config.sort_options.length; i++) {
var cur = {};
var opt = this.config.sort_options[i];
@@
-262,7
+262,7
@@
mkws.registerWidgetType('ranking', function() {
}
var perpage = this.team.perpage();
}
var perpage = this.team.perpage();
- this.log("making perpage, perpage = " + perpage);
+ this.info("making perpage, perpage = " + perpage);
for(var i = 0; i < this.config.perpage_options.length; i++) {
var cur = {};
cur.perPage = this.config.perpage_options[i];
for(var i = 0; i < this.config.perpage_options.length; i++) {
var cur = {};
cur.perPage = this.config.perpage_options[i];
@@
-310,7
+310,7
@@
mkws.registerWidgetType('lang', function() {
list.push(cur);
}
list.push(cur);
}
- this.log("language menu: " + list.join(", "));
+ this.info("language menu: " + list.join(", "));
var template = this.team.loadTemplate(this.config.template || "lang");
this.node.html(template({languages: list}));
var template = this.team.loadTemplate(this.config.template || "lang");
this.node.html(template({languages: list}));
@@
-355,7
+355,7
@@
mkws.registerWidgetType('config', function() {
for (var name in c) {
if (c.hasOwnProperty(name)) {
this.team.config[name] = c[name];
for (var name in c) {
if (c.hasOwnProperty(name)) {
this.team.config[name] = c[name];
- this.log(this + " copied property " + name + "='" + c[name] + "' up to team");
+ this.info(this + " copied property " + name + "='" + c[name] + "' up to team");
}
}
});
}
}
});