Removes two simple instances of inline JavaScript.
This commit is contained in:
parent
95efb6f116
commit
df0a77a7be
3 changed files with 4 additions and 6 deletions
|
@ -181,6 +181,9 @@
|
||||||
break;
|
break;
|
||||||
case 'projects':
|
case 'projects':
|
||||||
new NamespaceSelects();
|
new NamespaceSelects();
|
||||||
|
break;
|
||||||
|
case 'labels':
|
||||||
|
new Labels();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'dashboard':
|
case 'dashboard':
|
||||||
|
@ -206,6 +209,7 @@
|
||||||
new ProjectNew();
|
new ProjectNew();
|
||||||
break;
|
break;
|
||||||
case 'show':
|
case 'show':
|
||||||
|
new Star();
|
||||||
new ProjectNew();
|
new ProjectNew();
|
||||||
new ProjectShow();
|
new ProjectShow();
|
||||||
new NotificationsDropdown();
|
new NotificationsDropdown();
|
||||||
|
|
|
@ -28,6 +28,3 @@
|
||||||
.form-actions
|
.form-actions
|
||||||
= f.submit 'Save', class: 'btn btn-save js-save-button'
|
= f.submit 'Save', class: 'btn btn-save js-save-button'
|
||||||
= link_to "Cancel", admin_labels_path, class: 'btn btn-cancel'
|
= link_to "Cancel", admin_labels_path, class: 'btn btn-cancel'
|
||||||
|
|
||||||
:javascript
|
|
||||||
new Labels();
|
|
||||||
|
|
|
@ -24,6 +24,3 @@
|
||||||
|
|
||||||
.project-clone-holder
|
.project-clone-holder
|
||||||
= render "shared/clone_panel"
|
= render "shared/clone_panel"
|
||||||
|
|
||||||
:javascript
|
|
||||||
new Star();
|
|
||||||
|
|
Loading…
Reference in a new issue