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
Part of MKWS-64.
[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
cd08b2b
..
733dfb2
100644
(file)
--- a/
src/mkws-widget-main.js
+++ b/
src/mkws-widget-main.js
@@
-217,10
+217,7
@@
mkws.registerWidgetType('sort', function() {
var that = this;
this.node.change(function() {
var that = this;
this.node.change(function() {
- that.team.set_sortOrder(that.node.val());
- if (that.team.submitted()) {
- that.team.reShow();
- }
+ window.location.href = '#' + that.team.urlFragment({ sort: that.node.val() });
return false;
});
});
return false;
});
});
@@
-230,10
+227,7
@@
mkws.registerWidgetType('per-page', function() {
var that = this;
this.node.change(function() {
var that = this;
this.node.change(function() {
- that.team.set_perpage(that.node.val());
- if (that.team.submitted()) {
- that.team.reShow();
- }
+ window.location.href = '#' + that.team.urlFragment({ size: that.node.val() });
return false;
});
});
return false;
});
});