summaryrefslogtreecommitdiffstats
path: root/common/src/main/webapp/thirdparty/data-tables
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/main/webapp/thirdparty/data-tables')
-rw-r--r--common/src/main/webapp/thirdparty/data-tables/DataTableICT.js10
-rw-r--r--common/src/main/webapp/thirdparty/data-tables/DataTableSmartClient.js6
-rw-r--r--common/src/main/webapp/thirdparty/data-tables/DataTableSmartClientApp.js6
-rw-r--r--common/src/main/webapp/thirdparty/data-tables/dataTable.html2
4 files changed, 12 insertions, 12 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');
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');
diff --git a/common/src/main/webapp/thirdparty/data-tables/DataTableSmartClientApp.js b/common/src/main/webapp/thirdparty/data-tables/DataTableSmartClientApp.js
index 8584aae..7440d91 100644
--- a/common/src/main/webapp/thirdparty/data-tables/DataTableSmartClientApp.js
+++ b/common/src/main/webapp/thirdparty/data-tables/DataTableSmartClientApp.js
@@ -495,7 +495,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);
@@ -532,7 +532,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();
}
} );
@@ -554,7 +554,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');
diff --git a/common/src/main/webapp/thirdparty/data-tables/dataTable.html b/common/src/main/webapp/thirdparty/data-tables/dataTable.html
index afae5e3..979c456 100644
--- a/common/src/main/webapp/thirdparty/data-tables/dataTable.html
+++ b/common/src/main/webapp/thirdparty/data-tables/dataTable.html
@@ -141,7 +141,7 @@
</div>
<!-- FOR TEST-->
<script type="text/javascript" src="/web/newict/framework/thirdparty/bootstrap/js/bootstrap.min.js"></script>
-<script type="text/javascript" src="/web/newict/framework/zte/scripts/core/openoFrameWork.min.js"></script>
+<script type="text/javascript" src="/web/newict/framework/zte/scripts/core/onapFrameWork.min.js"></script>
<script type="text/javascript" src="/web/newict/framework/thirdparty/uniform/jquery.uniform.min.js"></script>
<script type="text/javascript" src="/web/newict/framework/thirdparty/data-tables/jquery.dataTables.js"></script>
<script type="text/javascript" src="/web/newict/framework/thirdparty/data-tables/DT_bootstrap.js"></script>