diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2020-05-21 01:58:11 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2020-05-21 01:59:55 +0300 |
commit | 115f79c95902dd6049daf599b28f31ba297e485e (patch) | |
tree | 2559120ab8aed83b7757fff1cdc1a23d7f56c06d /js | |
parent | 5aef97207ba3ec94983fb15a28d33dca3a431063 (diff) |
Extract primary action from table structure index method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'js')
-rw-r--r-- | js/table/structure.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/table/structure.js b/js/table/structure.js index ca1b1737d3..82a2e5fa09 100644 --- a/js/table/structure.js +++ b/js/table/structure.js @@ -422,6 +422,8 @@ AJAX.registerOnload('table/structure.js', function () { if (action === 'drop') { url = 'index.php?route=/table/structure/drop-confirm'; + } else if (action === 'primary') { + url = 'index.php?route=/table/structure/primary'; } $.post(url, submitData, AJAX.responseHandler); |