Skip to content

Commit

Permalink
⚰️ remove useless event handler since 2013 3scale/system@40ea209
Browse files Browse the repository at this point in the history
  • Loading branch information
josemigallas committed May 9, 2024
1 parent da39949 commit d4d343f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions app/assets/javascripts/provider/admin/cms/templates.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
(function($){
$(function(){
// DRAG ...
$(document).on('sidebar:init', function(event){
jQueryUI(event.target).find('li.draggable').draggable({
helper: function(e){
var element = $(e.currentTarget);

return element.clone().prependTo(element.parent().parent()).addClass('dragged')[0];
},
revert: 'invalid'
});
});

// ... & DROP
$(document).on('cms-template:init', function(event){
jQueryUI(event.target).find('#subsections-container').droppable({
Expand Down

0 comments on commit d4d343f

Please sign in to comment.