Showing 5,781 of 10,536 total issues
Function editUser
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.editUser = function (user) {
var modalInstance = $uibModal.open({
windowClass: "animated fadeIn",
templateUrl: 'views/users/user/user.model.html',
controller: 'ModalEditUserCtrl',
Function bindContainerEvents
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
bindContainerEvents: function(){
var mouseDown = false,
oldPageX,
oldPageY,
map = this;
Function editPrivilege
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.editPrivilege = function (privilege) {
var modalInstance = $uibModal.open({
windowClass: "animated fadeIn",
templateUrl: 'views/users/privilege/privilege.model.html',
controller: 'ModalEditPrivilegeCtrl',
Function editContact
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.editContact=function(contact){
var modalInstance = $uibModal.open({
windowClass: "animated fadeIn",
templateUrl: 'views/settings/contact/contact.model.html',
controller: 'ModalEditContactCtrl',
Function addProtocol
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.addProtocol = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/settings/protocol/protocol.model.html',
controller: 'ModalAddProtocolCtrl',
windowClass: "animated fadeIn",
Function addSensor
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.addSensor = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/settings/sensor/sensor.model.html',
controller: 'ModalAddSensorCtrl',
windowClass: "animated fadeIn",
Function editEmailServer
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.editEmailServer=function(emailserver){
var modalInstance = $uibModal.open({
windowClass: "animated fadeIn",
templateUrl: 'views/settings/emailserver/emailserver.model.html',
controller: 'ModalEditEmailServerCtrl',
Function editMenu
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.editMenu = function (menu) {
var modalInstance = $uibModal.open({
windowClass: "animated fadeIn",
templateUrl: 'views/settings/menu/menu.model.html',
controller: 'ModalEditMenuCtrl',
Function addEnergyItem
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.addEnergyItem = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/settings/category/energyitem.model.html',
controller: 'ModalAddEnergyItemCtrl',
windowClass: "animated fadeIn",
Function addTariff
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.addTariff = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/settings/tariff/tariff.model.html',
controller: 'ModalAddTariffCtrl',
windowClass: "animated fadeIn",
Function addDistributionCircuit
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.addDistributionCircuit = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/settings/distributionsystem/distributioncircuit.model.html',
controller: 'ModalAddDistributionCircuitCtrl',
Function addCategory
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.addCategory = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/settings/category/category.model.html',
controller: 'ModalAddCategoryCtrl',
windowClass: "animated fadeIn",
Function addWorkingCalendar
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.addWorkingCalendar = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/settings/workingcalendar/workingcalendar.model.html',
controller: 'ModalAddWorkingCalendarCtrl',
windowClass: "animated fadeIn",
Function deps
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ($ocLazyLoad) {
return $ocLazyLoad.load(['ui.select', 'ui.checkbox', 'daterangepicker', 'toaster']).then(
function () {
return $ocLazyLoad.load([{
serie: true,
Function vectorMap
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function vectorMap() {
return {
restrict: 'A',
scope: {
myMapData: '=',
Function editEnergyFlowDiagramNode
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.editEnergyFlowDiagramNode = function(energyflowdiagramnode) {
var modalInstance = $uibModal.open({
templateUrl: 'views/settings/energyflowdiagram/energyflowdiagramnode.model.html',
controller: 'ModalEditEnergyFlowDiagramNodeCtrl',
windowClass: "animated fadeIn",
Function addNonWorkingDay
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.addNonWorkingDay = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/settings/workingcalendar/nonworkingday.model.html',
controller: 'ModalAddNonWorkingDayCtrl',
windowClass: "animated fadeIn",
Function editNonWorkingDay
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.editNonWorkingDay = function(nonWorkingDay) {
var modalInstance = $uibModal.open({
windowClass: "animated fadeIn",
templateUrl: 'views/settings/workingcalendar/nonworkingday.model.html',
controller: 'ModalEditNonWorkingDayCtrl',
Function editEnergyFlowDiagram
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.editEnergyFlowDiagram = function(energyflowdiagram) {
var modalInstance = $uibModal.open({
windowClass: "animated fadeIn",
templateUrl: 'views/settings/energyflowdiagram/energyflowdiagram.model.html',
controller: 'ModalEditEnergyFlowDiagramCtrl',
Function addEnergyFlowDiagramNode
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.addEnergyFlowDiagramNode = function() {
var modalInstance = $uibModal.open({
templateUrl: 'views/settings/energyflowdiagram/energyflowdiagramnode.model.html',
controller: 'ModalAddEnergyFlowDiagramNodeCtrl',