diff options
Diffstat (limited to 'common/src/main/webapp/thirdparty/data-tables/DataTableSmartClient.js')
-rw-r--r-- | common/src/main/webapp/thirdparty/data-tables/DataTableSmartClient.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/src/main/webapp/thirdparty/data-tables/DataTableSmartClient.js b/common/src/main/webapp/thirdparty/data-tables/DataTableSmartClient.js index 4cb8cb5..5fa69e5 100644 --- a/common/src/main/webapp/thirdparty/data-tables/DataTableSmartClient.js +++ b/common/src/main/webapp/thirdparty/data-tables/DataTableSmartClient.js @@ -438,7 +438,7 @@ var DatatableICT = function () { "data": aoData, "success": function(res, textStatus, jqXHR) { if (res.sMessage) { - openoFrameWork.alert({type: (res.sStatus == 'OK' ? 'success' : 'danger'), icon: (res.sStatus == 'OK' ? 'check' : 'warning'), message: res.sMessage, container: tableWrapper, place: 'prepend'}); + onapFrameWork.alert({type: (res.sStatus == 'OK' ? 'success' : 'danger'), icon: (res.sStatus == 'OK' ? 'check' : 'warning'), message: res.sMessage, container: tableWrapper, place: 'prepend'}); } if ($('.group-checkable', tableContainer).size() === 1) { $('.group-checkable', tableContainer).attr("checked", false); @@ -466,7 +466,7 @@ var DatatableICT = function () { if (tableOptions.onError) { tableOptions.onError.call(the); } - openoFrameWork.alert({type: 'danger', icon: 'warning', message: tableOptions.dataTable.oLanguage.sAjaxRequestGeneralError, container: tableWrapper, place: 'prepend'}); + onapFrameWork.alert({type: 'danger', icon: 'warning', message: tableOptions.dataTable.oLanguage.sAjaxRequestGeneralError, container: tableWrapper, place: 'prepend'}); $('.dataTables_processing', tableWrapper).remove(); } } ); @@ -488,7 +488,7 @@ var DatatableICT = function () { tableInitialized = true; // set table initialized table.show(); // display table } - openoFrameWork.initUniform($('input[type="checkbox"]', tableContainer)); // reinitialize uniform checkboxes on each table reload + onapFrameWork.initUniform($('input[type="checkbox"]', tableContainer)); // reinitialize uniform checkboxes on each table reload countSelectedRecords(); // reset selected records indicator //所有td不换行 $('table#datatable_ajax').find('td').css('white-space', 'nowrap'); |