Lines 306-325
Link Here
|
306 |
local.fnUpdate( value, aPos[0], aPos[1], true, false ); |
306 |
local.fnUpdate( value, aPos[0], aPos[1], true, false ); |
307 |
return value; |
307 |
return value; |
308 |
},{ |
308 |
},{ |
309 |
type : 'number', |
309 |
type : 'text', |
310 |
step : '0.01', |
310 |
pattern : "^\d+(\.\d{2})?$", |
311 |
min : '0', |
311 |
onblur : 'submit', |
312 |
onblur : 'submit' |
312 |
width : "8em" |
313 |
}); |
313 |
}); |
314 |
local.$('.editable_int').editable( function(value, settings) { |
314 |
local.$('.editable_int').editable( function(value, settings) { |
315 |
var aPos = local.fnGetPosition( this ); |
315 |
var aPos = local.fnGetPosition( this ); |
316 |
local.fnUpdate( value, aPos[0], aPos[1], true, false ); |
316 |
local.fnUpdate( value, aPos[0], aPos[1], true, false ); |
317 |
return value; |
317 |
return value; |
318 |
},{ |
318 |
},{ |
319 |
type : 'number', |
319 |
type : 'text', |
320 |
step : '1', |
320 |
pattern : "[0-9]*", |
321 |
min : '0', |
321 |
onblur : 'submit', |
322 |
onblur : 'submit' |
322 |
width : "4em" |
323 |
}); |
323 |
}); |
324 |
}, |
324 |
}, |
325 |
"fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) { |
325 |
"fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) { |
326 |
- |
|
|