Commit d6473ebc authored by Bas Lijnse's avatar Bas Lijnse

Fix in list update

git-svn-id: https://svn.cs.ru.nl/repos/iTask-system/trunk@2404 63da3aa8-80fd-4f01-9db8-e6ea747a3da2
parent 972b9d7d
Ext.define('itwc.component.edit.EditButton',{
extend: 'Ext.Button',
alias: 'widget.itwc_editbutton',
mixins: ['itwc.component.edit.Editable'],
initComponent: function() {
this.addEvents('edit');
this.callParent(arguments);
},
onClick: function() {
this.viewport = this.viewport || this.up('viewport');
this.viewport = this.viewport || this.findViewport();
this.viewport.fireEvent('edit',this.taskId, this.editorId,this.value);
},
setValue: function(value) {
......
......@@ -149,7 +149,7 @@ gUpdate{|[]|} gUpdx gDefx target upd (l,[listMask:mask])
"mdn" = (swap l (index+1),swap childMasks (index+1))
"rem" = (removeAt index l,removeAt index childMasks)
"add"
= (insertAt (index+1) (gDefx []) l, insertAt (index+1) Untouched childMasks)
= (insertAt (length l) /*(index+1)*/ (gDefx []) l, insertAt (length l)/*(index+1)*/ Untouched childMasks)
_
= (l,childMasks)
= (l,[PartiallyTouched childMasks:mask])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment