Ugly hack to ensure the modal backdrop is removed when changing views
Couldn't figure a way to make this generic
This commit is contained in:
@@ -241,4 +241,6 @@ angular.module('Application').controller('AccountController', ['$scope', 'Client
|
||||
$(this).find("[autofocus]:first").focus();
|
||||
});
|
||||
});
|
||||
|
||||
$('.modal-backdrop').remove();
|
||||
}]);
|
||||
|
||||
@@ -62,4 +62,6 @@ angular.module('Application').controller('ActivityController', ['$scope', '$loca
|
||||
Client.onReady(function () {
|
||||
fetchEventLogs();
|
||||
});
|
||||
|
||||
$('.modal-backdrop').remove();
|
||||
}]);
|
||||
|
||||
@@ -524,4 +524,6 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
|
||||
$(this).find("[autofocus]:first").focus();
|
||||
});
|
||||
});
|
||||
|
||||
$('.modal-backdrop').remove();
|
||||
}]);
|
||||
|
||||
@@ -582,4 +582,6 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca
|
||||
$(this).find("[autofocus]:first").focus();
|
||||
});
|
||||
});
|
||||
|
||||
$('.modal-backdrop').remove();
|
||||
}]);
|
||||
|
||||
@@ -198,4 +198,6 @@ angular.module('Application').controller('CertsController', ['$scope', '$locatio
|
||||
$(this).find("[autofocus]:first").focus();
|
||||
});
|
||||
});
|
||||
|
||||
$('.modal-backdrop').remove();
|
||||
}]);
|
||||
|
||||
@@ -192,4 +192,6 @@ angular.module('Application').controller('GraphsController', ['$scope', '$locati
|
||||
Client.onReady($scope.updateMemorySystemChart);
|
||||
Client.onReady($scope.updateMemoryAppsChart);
|
||||
Client.onReady($scope.setMemoryApp.bind(null, 'system'));
|
||||
|
||||
$('.modal-backdrop').remove();
|
||||
}]);
|
||||
|
||||
@@ -528,4 +528,6 @@ angular.module('Application').controller('SettingsController', ['$scope', '$loca
|
||||
$(this).find("[autofocus]:first").focus();
|
||||
});
|
||||
});
|
||||
|
||||
$('.modal-backdrop').remove();
|
||||
}]);
|
||||
|
||||
@@ -37,4 +37,6 @@ angular.module('Application').controller('SupportController', ['$scope', '$locat
|
||||
$scope.feedback.busy = false;
|
||||
});
|
||||
};
|
||||
|
||||
$('.modal-backdrop').remove();
|
||||
}]);
|
||||
|
||||
@@ -228,4 +228,6 @@ angular.module('Application').controller('TokensController', ['$scope', 'Client'
|
||||
$(this).find("[autofocus]:first").focus();
|
||||
});
|
||||
});
|
||||
|
||||
$('.modal-backdrop').remove();
|
||||
}]);
|
||||
|
||||
@@ -440,4 +440,6 @@ angular.module('Application').controller('UsersController', ['$scope', '$locatio
|
||||
$(this).find("[autofocus]:first").focus();
|
||||
});
|
||||
});
|
||||
|
||||
$('.modal-backdrop').remove();
|
||||
}]);
|
||||
|
||||
Reference in New Issue
Block a user