diff --git a/db_structure.php b/db_structure.php index 8be37f095b..67af9f9f10 100644 --- a/db_structure.php +++ b/db_structure.php @@ -74,7 +74,7 @@ if ($response->isAjax() && ! empty($_REQUEST['favorite_table'])) { } else { $response->getHeader()->getScripts()->addFiles([ 'database/structure.js', - 'tbl_change.js', + 'table/change.js', ]); $response->addHTML($controller->index([ diff --git a/js/functions.js b/js/functions.js index 4d7ad3cb45..6b7c54a790 100644 --- a/js/functions.js +++ b/js/functions.js @@ -135,7 +135,7 @@ Functions.addDatepicker = function ($thisElement, type, options) { showAnim: '', beforeShow: function (input, inst) { // Remember that we came from the datepicker; this is used - // in tbl_change.js by verificationsAfterFieldChange() + // in table/change.js by verificationsAfterFieldChange() $thisElement.data('comes_from', 'datepicker'); if ($(input).closest('.cEdit').length > 0) { setTimeout(function () { diff --git a/js/gis_data_editor.js b/js/gis_data_editor.js index fac3e9fc1f..db73243d0a 100644 --- a/js/gis_data_editor.js +++ b/js/gis_data_editor.js @@ -6,7 +6,7 @@ * */ -/* global addZoomPanControllers, loadSVG, selectVisualization, styleOSM, zoomAndPan */ // js/tbl_gis_visualization.js +/* global addZoomPanControllers, loadSVG, selectVisualization, styleOSM, zoomAndPan */ // js/table/gis_visualization.js /* global pmaThemeImage */ // js/messages.php // eslint-disable-next-line no-unused-vars @@ -102,7 +102,7 @@ function loadJSAndGISEditor (value, field, type, inputName) { var smallScripts = ['js/vendor/jquery/jquery.svg.js', 'js/vendor/jquery/jquery.mousewheel.js', 'js/vendor/jquery/jquery.event.drag-2.2.js', - 'js/tbl_gis_visualization.js']; + 'js/table/gis_visualization.js']; for (var i = 0; i < smallScripts.length; i++) { script = document.createElement('script'); diff --git a/js/messages.php b/js/messages.php index 6149f080c8..b02de19d1c 100644 --- a/js/messages.php +++ b/js/messages.php @@ -490,7 +490,7 @@ $js_messages['strNoTdSelected'] = __('No dependencies selected!'); /* For server/variables.js */ $js_messages['strSave'] = __('Save'); -/* For tbl_select.js */ +/* For table/select.js */ $js_messages['strHideSearchCriteria'] = __('Hide search criteria'); $js_messages['strShowSearchCriteria'] = __('Show search criteria'); $js_messages['strRangeSearch'] = __('Range search'); @@ -499,11 +499,11 @@ $js_messages['strColumnMin'] = __('Column minimum:'); $js_messages['strMinValue'] = __('Minimum value:'); $js_messages['strMaxValue'] = __('Maximum value:'); -/* For tbl_find_replace.js */ +/* For table/find_replace.js */ $js_messages['strHideFindNReplaceCriteria'] = __('Hide find and replace criteria'); $js_messages['strShowFindNReplaceCriteria'] = __('Show find and replace criteria'); -/* For tbl_zoom_plot_jqplot.js */ +/* For table/zoom_plot_jqplot.js */ $js_messages['strDisplayHelp'] = '