|
@@ -56,9 +56,6 @@ $(document).ready ->
|
|
# JSON Editor
|
|
# JSON Editor
|
|
window.jsonEditor = setupJsonEditor()
|
|
window.jsonEditor = setupJsonEditor()
|
|
|
|
|
|
- # Select2 Selects
|
|
|
|
- $(".select2").select2(width: 'resolve')
|
|
|
|
-
|
|
|
|
# Flash
|
|
# Flash
|
|
if $(".flash").length
|
|
if $(".flash").length
|
|
setTimeout((-> $(".flash").slideUp(-> $(".flash").remove())), 5000)
|
|
setTimeout((-> $(".flash").slideUp(-> $(".flash").remove())), 5000)
|
|
@@ -155,6 +152,9 @@ $(document).ready ->
|
|
|
|
|
|
$("#agent_type").change() if $("#agent_type").length
|
|
$("#agent_type").change() if $("#agent_type").length
|
|
|
|
|
|
|
|
+ # Select2 Selects
|
|
|
|
+ $(".select2").select2(width: 'resolve')
|
|
|
|
+
|
|
if $(".schedule-region")
|
|
if $(".schedule-region")
|
|
if $(".schedule-region").data("can-be-scheduled") == true
|
|
if $(".schedule-region").data("can-be-scheduled") == true
|
|
showSchedule()
|
|
showSchedule()
|