frontend/app/assets/javascripts/mno_enterprise/lib/sortable.js
Function link
has 184 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function(scope, element, attrs, ngModel) {
var savedNodes;
function combineCallbacks(first,second){
if(second && (typeof second === 'function')) {
Function start
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
callbacks.start = function(e, ui) {
if (opts['ui-floating'] === 'auto') {
// since the drag has started, the element will be
// absolutely positioned, so we check its siblings
var siblings = ui.item.siblings();