Javascript error when adding new record in EditableTable

Javascript error when adding new record in EditableTable

  

Here is the error:

Error: Failed to execute 'setAttribute' on 'Element': ''' is not a valid attribute name.
    at attr (_osjs.js?9_1_300_0:18)
    at Function.access (_osjs.js?9_1_300_0:18)
    at a.fn.init.attr (_osjs.js?9_1_300_0:18)
    at OsAddNewAttributes (_osjs.js?9_1_300_0:5)
    at OsExecuteTableRecordOperation (_osjs.js?9_1_300_0:5)
    at OsExecuteJSONUpdate (_osjs.js?9_1_300_0:5)
    at OsLoadNextScript (_osjs.js?9_1_300_0:5)
    at OsExecuteJSONUpdate (_osjs.js?9_1_300_0:5)
    at OsLoadNextScript (_osjs.js?9_1_300_0:5)
    at OsExecuteJSONUpdate (_osjs.js?9_1_300_0:5)

The insert action is never called.


Hi Stanley,

Can you share an example OML where this error can be reproduced?

Kind regards,

Remco Dekkinga

After some investigation I found out somehow the javasripts under Widget\EditableTables are missing:

In another app using EditableTables:

My question now is how to get the javascripts back without throw away all the work put in building the EditableTable?

Thanks,

Stanley