mirror of
https://github.com/NaN-tic/sao-base.git
synced 2023-12-14 03:13:01 +01:00
Manage editable top in new_model_position
This commit is contained in:
parent
e115b17ca5
commit
15e9859670
1 changed files with 4 additions and 1 deletions
|
@ -917,7 +917,10 @@
|
|||
},
|
||||
new_model_position: function() {
|
||||
var position = -1;
|
||||
// TODO editable
|
||||
if (this.current_view && (this.current_view.view_type == 'tree') &&
|
||||
(this.current_view.attributes.editable == 'top')) {
|
||||
position = 0;
|
||||
}
|
||||
return position;
|
||||
},
|
||||
set_on_write: function(name) {
|
||||
|
|
Loading…
Reference in a new issue