Skip to content
Snippets Groups Projects
Unverified Commit 3622a25e authored by Ahmad Farhat's avatar Ahmad Farhat Committed by GitHub
Browse files

Remove jquery ui (#3783)

* Remove jquery ui

* gemfile
parent b862d0f7
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,6 @@ gem 'http_accept_language', '~> 2.1.1'
gem 'i18n-language-mapping', '~> 0.1.3.1'
gem 'jbuilder', '~> 2.11.5'
gem 'jquery-rails', '~> 4.4.0'
gem 'jquery-ui-rails', '~> 6.0.1'
gem 'local_time', '~> 2.1.0'
gem 'net-ldap', '~> 0.17.0'
gem 'omniauth', '~> 2.1.0'
......
......@@ -205,8 +205,6 @@ GEM
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (6.0.1)
railties (>= 3.2.16)
json (2.6.2)
json-jwt (1.14.0)
activesupport (>= 4.2)
......@@ -503,7 +501,6 @@ DEPENDENCIES
i18n-language-mapping (~> 0.1.3.1)
jbuilder (~> 2.11.5)
jquery-rails (~> 4.4.0)
jquery-ui-rails (~> 6.0.1)
listen (~> 3.0)
local_time (~> 2.1.0)
lograge (~> 0.11.2)
......
......@@ -145,18 +145,6 @@ $(document).on('turbolinks:load', function(){
$("#role-colorinput-regular").css("border-color", role_colour);
loadRoleColourSelector(role_colour, $("#role-colorinput-regular").data("disabled"));
// Loads the jquery sortable so users can manually sort roles
$("#rolesSelect").sortable({
items: "a:not(.sort-disabled)",
update: function() {
$.ajax({
url: $(this).data("url"),
type: 'PATCH',
data: $(this).sortable('serialize')
});
}
});
}
}
});
......
......@@ -31,8 +31,6 @@
//= require tabler
//= require tabler.plugins
//= require jquery_ujs
//= require jquery-ui/widget
//= require jquery-ui/widgets/sortable
//= require pickr.min.js
//= require bootstrap-select.min.js
//= require local-time
......
......@@ -32,7 +32,6 @@
@import "tabler/variables";
@import "bootstrap";
@import "jquery-ui/sortable";
@import "tabler-custom";
@import "font-awesome-sprockets";
@import "font-awesome";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment