To be able to use a custom loader icon, the jQuery.ajaxSetup.js may be edited to point to the file URL of the new icon.
Requisites:
- Custom My Account folder is already populated with files copied from the Reference My Account folder.
- Setup > Site Builder > Set Up Web Site > Touch Points tab:
Name: View Customer Center
SSP Application: Custom My Account
- Navigate to Documents > Files > File Cabinet.
- Navigate to Web Site Hosting Files > Live Hosting Files > SSP Applications > NetSuite Inc. - My Account > Custom My Account > img.
- Click on the Add File button.
- Select the file from your local directory. Confirm that the file has been added.
- Navigate to Web Site Hosting Files > Live Hosting Files > SSP Applications > NetSuite Inc. - My Account > Custom My Account > js > src > core > extras > jQuery.ajaxSetup.js.
- Edit the file and look for the code snippet below:
- Change the line src: _.getAbsoluteUrl('img/ajax-loader.gif') so that it contains the directory and file name of the icon added in steps 1 to 3.
For example:
src: _.getAbsoluteUrl('{img/file_name.ext}') - Save.
To ensure that the changes have been updated, end all browser sessions and start a new one when testing if the spinning icon has been updated.
No comments:
Post a Comment