Restore tab default order when no manual change
issue5763 review32401002
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
* Restore tab default order when no manual change
|
||||
* Add support for column sorting
|
||||
* Manage confirm attribute on buttons
|
||||
* Call autocompletion when setting record value
|
||||
|
||||
+1
-1
@@ -627,7 +627,7 @@
|
||||
this.size_limit = null;
|
||||
this.limit = attributes.limit || Sao.config.limit;
|
||||
this.offset = 0;
|
||||
this.order = attributes.order;
|
||||
this.order = this.default_order = attributes.order;
|
||||
var access = Sao.common.MODELACCESS.get(model_name);
|
||||
if (!(access.write || access.create)) {
|
||||
this.attributes.readonly = true;
|
||||
|
||||
+1
-1
@@ -223,7 +223,7 @@
|
||||
}
|
||||
}
|
||||
});
|
||||
this.screen.order = null;
|
||||
this.screen.order = this.screen.default_order;
|
||||
if (arrow.hasClass(arrow_bottom)) {
|
||||
arrow.removeClass(arrow_bottom);
|
||||
arrow.addClass(arrow_top);
|
||||
|
||||
Reference in New Issue
Block a user