diff --git a/js/tbl_select.js b/js/tbl_select.js index faffeefde4..03d611af1d 100644 --- a/js/tbl_select.js +++ b/js/tbl_select.js @@ -173,7 +173,12 @@ $(document).ready(function() { //Token var token = $("input[name='token']").val(); - openGISEditor(value, field, type, input_name, token); + openGISEditor(); + if (!gisEditorLoaded) { + loadJSAndGISEditor(value, field, type, input_name, token); + } else { + loadGISEditor(value, field, type, input_name, token); + } }); }, 'top.frame_content'); // end $(document).ready()