- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2015 11:35 AM
For one table only in one environment today the client scripts are not working.
for example, in an onLoad client script,
I have to start the script box with onLoad() to get the code to execute,
and it is only for one table, (it is an extension of the task table)
but also the case for older client scripts for that table
I cannot see any change to the table itself to cause this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2015 12:16 PM
You might have a script error in another Client Script or UI Policy that is failing and that will cause code which would normally run after that to not run.
You can use your browser's developer tools/console to see if an error is happening, or take a look at this post - Internet Explorer Really Can Be Your Friend

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2015 12:06 PM
Hi David,
Could you please be more specific, as these type of error will require a look into system.
-
Cheers,
Akash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2015 12:12 PM
For example, a new onLoad client script for that table, with this code
-------------
function onLoad() {
//Type appropriate comment here, and begin script below
alert('loadtest');
}
--------------
displays nothing when the form is loaded.
this however, does:
-----------------------------
onLoad();
function onLoad() {
//Type appropriate comment here, and begin script below
alert('loadtest');
}
----------------------

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2015 12:24 PM
Hey,
It seems that something else is breaking.
Do one thing, set false to "glide.ui.js_includes" property and debug which script is throwing error.
After finding out, please set true to "glide.ui.js_includes" again.
Hope this would help you.
-Cheers,
Akash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2015 12:16 PM
You might have a script error in another Client Script or UI Policy that is failing and that will cause code which would normally run after that to not run.
You can use your browser's developer tools/console to see if an error is happening, or take a look at this post - Internet Explorer Really Can Be Your Friend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2015 12:29 PM
Thank you. This looks very promising. There is a missing variable in that environment on the form.