From f6209202bfcc3745d5f09ddeab16a08d6b7daf4e Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Sun, 30 Apr 2023 22:09:52 +0900 Subject: [PATCH] Add deprecation notice to exec_xml() --- common/js/xml_handler.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/js/xml_handler.js b/common/js/xml_handler.js index a787b2326..75b74ed28 100644 --- a/common/js/xml_handler.js +++ b/common/js/xml_handler.js @@ -30,6 +30,11 @@ */ window.exec_xml = $.exec_xml = function(module, act, params, callback_success, return_fields, callback_success_arg, fo_obj) { + // Display deprecation notice. + if (typeof console == "object" && typeof console.log == "function") { + console.log("DEPRECATED : exec_xml() is deprecated in Rhymix. Use exec_json() instead."); + } + // Define callback functions. var successHandler, errorHandler, xmlHandler;