Fix project lookup. Show error if project transfer fails
This commit is contained in:
parent
d09873018a
commit
1d156c9c8e
5 changed files with 22 additions and 2 deletions
|
@ -7,6 +7,12 @@ window.slugify = (text) ->
|
|||
window.ajaxGet = (url) ->
|
||||
$.ajax({type: "GET", url: url, dataType: "script"})
|
||||
|
||||
window.errorMessage = (message) ->
|
||||
ehtml = $("<p>")
|
||||
ehtml.addClass("error_message")
|
||||
ehtml.html(message)
|
||||
ehtml
|
||||
|
||||
# Disable button if text field is empty
|
||||
window.disableButtonIfEmptyField = (field_selector, button_selector) ->
|
||||
field = $(field_selector)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue