You need to sign in to do that
Don't have an account?
neil_edwards_fcca1.389781386123482E12
Javascript in Visualforce page works fine in Sandbox but doesn't work in Production
HI - I have this short Javascript in a visualforce page to extend the functionality of the Rich Text field. This works fine in Sandbox (v30) but not in Production (v29).
Any ideas? Any likely settings in production environment that may be preventing this from running??
Any ideas? Any likely settings in production environment that may be preventing this from running??
<apex:includeScript value="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"/> <script> $(document).ready(function(){ CKEDITOR.on('instanceReady', function(e) { if (e.editor.config.magic) return; var target = e.editor.config.bodyId; var name = e.editor.name; e.editor.destroy(); CKEDITOR.editorConfig = function( config ) { config.magic = true; } CKEDITOR.replace(name, { height : 400, bodyId : target }); }); }); </script>
You can check the browser compatibility for the same.