js: drop stupidtable plugin.
This was only used on the saved search index. It let you click on column headers to sort the table by that column. This doesn't make sense now that saved searches are paginated.
This commit is contained in:
@@ -6,7 +6,6 @@ function importAll(r) {
|
||||
|
||||
require('@rails/ujs').start();
|
||||
require('hammerjs');
|
||||
require('stupid-table-plugin');
|
||||
require('jquery-hotkeys');
|
||||
|
||||
// should start looking for nodejs replacements
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
let SavedSearch = {};
|
||||
|
||||
SavedSearch.initialize_all = function() {
|
||||
if ($("#c-saved-searches").length) {
|
||||
$("#c-saved-searches table").stupidtable();
|
||||
}
|
||||
}
|
||||
|
||||
$(SavedSearch.initialize_all);
|
||||
|
||||
export default SavedSearch
|
||||
@@ -11,7 +11,6 @@
|
||||
"jquery-ui": "^1.12.1",
|
||||
"rails-erb-loader": "^5.5.0",
|
||||
"spark-md5": "^3.0.0",
|
||||
"stupid-table-plugin": "^1.1.3",
|
||||
"tippy.js": "^6.2.3",
|
||||
"typeface-anton": "^0.0.72",
|
||||
"typeface-archivo-narrow": "^1.0.0",
|
||||
|
||||
@@ -8189,11 +8189,6 @@ strip-json-comments@^3.1.0:
|
||||
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.0.tgz#7638d31422129ecf4457440009fba03f9f9ac180"
|
||||
integrity sha512-e6/d0eBu7gHtdCqFt0xJr642LdToM5/cN4Qb9DbHjVx1CP5RyeM+zH7pbecEmDv/lBqb0QH+6Uqq75rxFPkM0w==
|
||||
|
||||
stupid-table-plugin@^1.1.3:
|
||||
version "1.1.3"
|
||||
resolved "https://registry.yarnpkg.com/stupid-table-plugin/-/stupid-table-plugin-1.1.3.tgz#e0d72038da8299727ada73545d2eb9c1be443056"
|
||||
integrity sha1-4NcgONqCmXJ62nNUXS65wb5EMFY=
|
||||
|
||||
style-loader@^1.1.3:
|
||||
version "1.2.1"
|
||||
resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-1.2.1.tgz#c5cbbfbf1170d076cfdd86e0109c5bba114baa1a"
|
||||
|
||||
Reference in New Issue
Block a user