Initially disable the btn-dec
This commit is contained in:
parent
cb94f2dbb8
commit
1e0f04ada2
2 changed files with 3 additions and 1 deletions
|
@ -8,6 +8,8 @@ ready = ->
|
|||
$('.btn-dec').on 'click', ->
|
||||
increment($(this), -1)
|
||||
|
||||
$('.btn-dec').prop("disabled", true)
|
||||
|
||||
increment = (button, n) ->
|
||||
# Fix the counter
|
||||
counter = $(button).closest('.form_row').find('.row_counter')
|
||||
|
|
|
@ -54,8 +54,8 @@ ActiveRecord::Schema.define(version: 20141210090544) do
|
|||
t.datetime "last_sign_in_at"
|
||||
t.string "current_sign_in_ip"
|
||||
t.string "last_sign_in_ip"
|
||||
t.integer "dagschotel_id"
|
||||
t.boolean "admin"
|
||||
t.integer "dagschotel_id"
|
||||
t.string "avatar_file_name"
|
||||
t.string "avatar_content_type"
|
||||
t.integer "avatar_file_size"
|
||||
|
|
Loading…
Reference in a new issue