Kijin Sung
|
901f565a81
|
Restore backward compatible behavior when an ajax form submission returns both a message and a redirect URL
|
2025-07-06 17:31:13 +09:00 |
|
Kijin Sung
|
cea2370520
|
Always stop after calling the error callback function, regardless of whether it returns false
|
2025-06-19 23:47:06 +09:00 |
|
Kijin Sung
|
dfdb3386d6
|
Ensure that a promise is always either fulfilled or rejected, even when callback_error prevents error from being shown
|
2025-06-19 00:35:09 +09:00 |
|
Kijin Sung
|
87980cd35c
|
Add support for passing URL to Rhymix.ajax()
|
2025-06-19 00:07:56 +09:00 |
|
Kijin Sung
|
bb86fc2fe2
|
Accommodate copilot suggestions for common.js
|
2025-06-18 19:22:21 +09:00 |
|
Kijin Sung
|
083abbeacd
|
Fix inconsistent unhandledrejection behavior when polyfill is used
|
2025-06-18 18:54:07 +09:00 |
|
Kijin Sung
|
87e34246f2
|
Add polyfill for FormData
|
2025-06-18 18:51:02 +09:00 |
|
Kijin Sung
|
2b62780b90
|
Miscellaneous fixes to Rhymix.ajax() handling
|
2025-06-18 16:55:43 +09:00 |
|
Kijin Sung
|
213b354891
|
Update parameter names of Rhymix.ajaxForm() for consistency with Rhymix.ajax()
|
2025-06-18 02:09:10 +09:00 |
|
Kijin Sung
|
f09cce5d1a
|
Allow redirects to be canceled by Promise.then() after AJAX call
|
2025-06-18 01:36:46 +09:00 |
|
Kijin Sung
|
2c5b3e072f
|
Consolidate callback version and Promise version of Rhymix.ajax()
|
2025-06-18 01:31:52 +09:00 |
|
Kijin Sung
|
f64a15d971
|
Merge branch 'master' into pr/async-ajax
|
2025-06-17 21:24:07 +09:00 |
|
Kijin Sung
|
20f6703f79
|
Revert "Call Rhymix.ajax() in procFilter()"
Don't call new function from legacy function
This reverts commit 64f0ffbd91.
|
2025-06-14 15:53:43 +09:00 |
|
Kijin Sung
|
388091ed82
|
Fix incorrect migration of is_def() from previous version
|
2025-06-14 13:52:14 +09:00 |
|
Kijin Sung
|
3c44f96f63
|
Fix empty procDocumentAddCart request (2.1.24 regression) #2568
|
2025-06-14 13:49:48 +09:00 |
|
Kijin Sung
|
82feb232f6
|
WIP
|
2025-06-13 17:31:44 +09:00 |
|
Kijin Sung
|
dc21fc3007
|
Add polyfill for Promise (yes, we still support IE11)
|
2025-06-13 16:54:06 +09:00 |
|
Kijin Sung
|
5cb4a00113
|
Remove unncessary async keyword
|
2025-06-13 16:44:58 +09:00 |
|
Kijin Sung
|
2bac2744a5
|
Convert Rhymix.ajax() into async function
|
2025-06-12 21:25:59 +09:00 |
|
Kijin Sung
|
8410e0ef14
|
Cleanup #2561
|
2025-06-05 12:29:11 +09:00 |
|
Kijin Sung
|
e6dd789cd3
|
Fix missing window.XE for backward compatibility #2561
|
2025-06-04 23:51:42 +09:00 |
|
Kijin Sung
|
e2af4512e0
|
Fix missing or incorrect doc comments, type declarations, etc.
|
2025-06-02 22:33:04 +09:00 |
|
Kijin Sung
|
0501671271
|
Add underscores to some internal methods to mark them as private
|
2025-05-27 01:13:39 +09:00 |
|
Kijin Sung
|
e80b0d4570
|
Remove duplicate CSRF token from AJAX requests
|
2025-05-27 01:03:05 +09:00 |
|
Kijin Sung
|
59bb9c1043
|
Submit raw JSON in Rhymix.ajax()
|
2025-05-26 22:05:26 +09:00 |
|
Kijin Sung
|
a339d88a2e
|
Don't set X-AJAX-Compat header when a request is made from Rhymix.ajax()
|
2025-05-25 16:47:17 +09:00 |
|
Kijin Sung
|
1568cb3790
|
Add Rhymix.getBaseUrl() and remove internal cache variable "baseurl"
|
2025-05-25 16:29:39 +09:00 |
|
Kijin Sung
|
341df211ee
|
Add missing deprecated mark
|
2025-05-25 00:13:50 +09:00 |
|
Kijin Sung
|
0be03f216f
|
Fix setting lang codes directly to xe object, not xe.lang
|
2025-05-23 20:51:36 +09:00 |
|
Kijin Sung
|
dbd46edcc2
|
Add client-side Rhymix.lang() to get or set lang codes
|
2025-05-23 20:33:04 +09:00 |
|
Kijin Sung
|
3fb9d0acaa
|
Fix incorrect short URL for POST requests made by Rhymix.ajax()
|
2025-05-21 15:07:15 +09:00 |
|
Kijin Sung
|
ad02de4f93
|
Remove unnecessary attributes from iframe modals
|
2025-05-21 14:38:33 +09:00 |
|
Kijin Sung
|
b229738808
|
Clean up editable preview handling code
|
2025-05-21 14:37:18 +09:00 |
|
Kijin Sung
|
d6da245166
|
Remove outdated JS unit tests
|
2025-05-21 14:21:08 +09:00 |
|
Kijin Sung
|
51983aad8f
|
Restore default success callback of ajaxForm() so that successful messages are printed
|
2025-05-21 14:19:43 +09:00 |
|
Kijin Sung
|
7e53bef104
|
Call Rhymix.ajax() in doCallModuleAction()
|
2025-05-21 14:19:10 +09:00 |
|
Kijin Sung
|
64f0ffbd91
|
Call Rhymix.ajax() in procFilter()
|
2025-05-21 14:15:20 +09:00 |
|
Kijin Sung
|
a0606dcf60
|
Move Rhymix.ajaxForm() to common.js
|
2025-05-21 14:12:10 +09:00 |
|
Kijin Sung
|
0f554c6d51
|
Consoliate all debug-related variables under the Rhymix object
|
2025-05-21 14:07:34 +09:00 |
|
Kijin Sung
|
3d64c26232
|
Remove window.rhymix_debug_pending_data
|
2025-05-21 13:58:39 +09:00 |
|
Kijin Sung
|
a778c46afa
|
Reorder event handlers defined at document.ready
|
2025-05-21 13:56:21 +09:00 |
|
Kijin Sung
|
e7fbeee414
|
Update rx_ajax to use Rhymix.ajax() underneath
|
2025-05-21 13:49:31 +09:00 |
|
Kijin Sung
|
688c9ea87c
|
Implement Rhymix.ajax()
|
2025-05-21 13:36:32 +09:00 |
|
Kijin Sung
|
0915863ba9
|
Complete reorganization of common.js
|
2025-05-21 00:50:48 +09:00 |
|
Kijin Sung
|
c546af7bf5
|
Also handle modal layers of any kind
|
2025-05-20 18:01:39 +09:00 |
|
Kijin Sung
|
5bddaa1bd3
|
Rename openFullscreenIframe() to openModalIframe() and handle the back button properly
|
2025-05-20 17:58:21 +09:00 |
|
Kijin Sung
|
e60bbb7e7c
|
Remove unused variables
|
2025-05-20 17:40:04 +09:00 |
|
Kijin Sung
|
24c8f4bd06
|
Remove MSIE-specific polyfill
|
2025-05-20 17:39:24 +09:00 |
|
Kijin Sung
|
6a46c39851
|
Improve fullscreen iframe handling
|
2025-05-20 17:38:50 +09:00 |
|
Kijin Sung
|
bd3e642d37
|
Also apply iframe solution to dispDocumentDeclare
|
2025-05-14 02:37:17 +09:00 |
|