File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 50
50
} ,
51
51
objectchange : function ( event , ui ) {
52
52
console . log ( "developer at index" , ui . index , "changed" , ui . object ) ;
53
- this . save ( ) ;
53
+ this . save ( ) . refresh ( ) ;
54
54
} ,
55
55
change : function ( event , ui ) {
56
56
console . log ( "developer(s) at index" , ui . index , ui . change + "ed" , ui . items ) ;
81
81
oldValue : oldValue ,
82
82
newValue : ui . value
83
83
} ) ;
84
- developers . _trigger ( "objectchange" , event , {
85
- object : object
86
- } ) ;
87
84
// for the navigator
88
85
grid . element . focus ( ) ;
89
86
}
94
91
var editForm = $ ( "#editForm" ) . hide ( ) . submit ( function ( event ) {
95
92
event . preventDefault ( ) ;
96
93
serializeForm ( this , developer ) ;
97
- // TODO the ui-widget class is added after rendering the template by the grid
98
- // therefore just rerendering the row looks bad, need to update the template to include the classes
99
- // or extend the grid to refresh a single row - need that anyway, as currently the inline editor breaks
100
- tmplItem . update ( ) ;
101
94
developers . _trigger ( "objectchange" , event , {
102
95
index : localDevelopers . indexOf ( developer ) ,
103
96
object : developer
You can’t perform that action at this time.
0 commit comments