Commit 5933d981 authored by Oliver Feldt's avatar Oliver Feldt
Browse files

Fixed diplay bug on adhoc creation

parent 4b61708b
Handlebars.registerHelper('checkout_state', function(checkout) {
return checkout.checked_out_at === undefined ? "info" : "success"
return checkout.checked_out_at !== undefined ? "info" : "success"
});
Handlebars.registerHelper('checked_in_state', function(checkout) {
return checkout.checked_in_at !== null ? checkout.checked_in_at : "Still Out"
});
$.delete = function(url, data, callback, type){
if ( $.isFunction(data) ){
type = type || callback,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment