fixed modul menu url, datatable live for duplicate saving
This commit is contained in:
+4
-2
@@ -4,9 +4,9 @@
|
||||
Desc. : JS - Fonia Custom Class v3
|
||||
Created By : Siau Pheng ([email protected]).
|
||||
Created Date : June 19th, 2009.
|
||||
Last Modified : December 26th, 2025.
|
||||
Last Modified : January 26th, 2026.
|
||||
|
||||
(c) 2009 - 2025, 3FONIA Software; WWW.3FONIA.COM.
|
||||
(c) 2009 - 2026, 3FONIA Software; WWW.3FONIA.COM.
|
||||
|
||||
*******************************************************************/
|
||||
|
||||
@@ -772,6 +772,8 @@ class _Request_JSONF extends _Request {
|
||||
$(this.options.data).map((key, item) => {
|
||||
var keyval = item.split("=");
|
||||
if (keyval[0] == 'SID') keyval[1] = parseInt(Math.random() * 99999999);
|
||||
// fixed bug for duplicate saving
|
||||
if (keyval[0] == 'mode_detail') keyval[1] = 'live-data';
|
||||
if ((''+keyval[1]).indexOf('%') != -1) keyval[1] = decodeURIComponent(keyval[1]);
|
||||
return post_data[keyval[0]] = keyval[1];
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user