fix for form_inputs not being defined

This commit is contained in:
Oliver Gorwits
2013-04-23 22:49:00 +01:00
parent 9663fb5f2a
commit 7940e1aeda
3 changed files with 8 additions and 2 deletions

View File

@@ -99,6 +99,10 @@
}
$(document).ready(function() {
// sidebar form fields should change colour and have bin/copy icon
form_inputs.each(function() {device_form_state($(this))});
form_inputs.change(function() {device_form_state($(this))});
// sidebar collapser events trigger change of up/down arrow
$('.collapse').on('show', function() {
$(this).siblings().find('.arrow-up-down')