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
Remove vacuous call of that.autosearch() from the "details" widget.
[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
ac43dcd
..
c161686
100644
(file)
--- a/
src/mkws-widget-main.js
+++ b/
src/mkws-widget-main.js
@@
-22,6
+22,7
@@
mkws.registerWidgetType('targets', function() {
cur.id = data[i].id;
cur.hits = data[i].hits;
cur.diagnostic = data[i].diagnostic;
cur.id = data[i].id;
cur.hits = data[i].hits;
cur.diagnostic = data[i].diagnostic;
+ cur.message = data[i].message;
cur.records = data[i].records;
cur.state = data[i].state;
cleandata.push(cur);
cur.records = data[i].records;
cur.state = data[i].state;
cleandata.push(cur);
@@
-55,7
+56,7
@@
mkws.registerWidgetType('pager', function() {
output.found = data.total;
//client indexes pages from 1 but pz2 from 0
output.found = data.total;
//client indexes pages from 1 but pz2 from 0
- var onsides = 6;
+ var onsides = 5;
var pages = Math.ceil(that.team.totalRecordCount() / that.team.perpage());
var currentPage = that.team.currentPage();
var pages = Math.ceil(that.team.totalRecordCount() / that.team.perpage());
var currentPage = that.team.currentPage();
@@
-105,7
+106,6
@@
mkws.registerWidgetType('details', function() {
that.node.html(template(data));
}
});
that.node.html(template(data));
}
});
- that.autosearch();
});
mkws.registerWidgetType('records', function() {
});
mkws.registerWidgetType('records', function() {