To ensure that your custom client-side JavaScript code is executed in runtime mode only, enclose your JavaScript code with the following IF block:
if (typeof $selectedObject === "undefined") {
// Place your code here
}
To ensure that your custom client-side JavaScript code is executed in runtime mode only, enclose your JavaScript code with the following IF block:
if (typeof $selectedObject === "undefined") {
// Place your code here
}