diff options
author | 2017-08-10 10:16:34 +0800 | |
---|---|---|
committer | 2017-08-10 10:16:34 +0800 | |
commit | d1225dbb01f0759ef8726fa3ea05ad88c6bf54bc (patch) | |
tree | fadd619629330d91f27ea06a3c87440da512552c /common/src/main/webapp/thirdparty/data-tables/DataTableICT.js | |
parent | 21d72c4a80fe2937d0c4ddd20624b27adbcd989b (diff) |
Remove the openo tag for esr-gui repository
Remove the openo tag from code and change the file name about openo
Change-Id: I3f3ecfe88824758484e8364ee51d2b9b0e53818a
Issue-ID: AAI-143
Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
Diffstat (limited to 'common/src/main/webapp/thirdparty/data-tables/DataTableICT.js')
-rw-r--r-- | common/src/main/webapp/thirdparty/data-tables/DataTableICT.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/common/src/main/webapp/thirdparty/data-tables/DataTableICT.js b/common/src/main/webapp/thirdparty/data-tables/DataTableICT.js index ef85de3..6ee0d27 100644 --- a/common/src/main/webapp/thirdparty/data-tables/DataTableICT.js +++ b/common/src/main/webapp/thirdparty/data-tables/DataTableICT.js @@ -488,7 +488,7 @@ var DatatableICT = function () { "contentType": 'application/json; charset=utf-8', "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); @@ -512,7 +512,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(); } } ); @@ -526,7 +526,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); @@ -561,7 +561,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(); } } ); @@ -584,7 +584,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' + contextData.curentDatableId).find('td').css('white-space', 'nowrap'); |