Fix progress message in action dialogues
authorSteven Chan <steven3416@gmail.com>
Sun, 31 Aug 2014 17:29:59 +0000 (10:29 -0700)
committerSteven Chan <steven3416@gmail.com>
Sun, 31 Aug 2014 17:29:59 +0000 (10:29 -0700)
commit8546cdf52b7d2573f8ee04f19e7a6846f0a291d8
tree3004775d463bd0c623128c2e870538b8b2cc8bbb
parentd0717859b8f03cc5aa49d02d114788a590cb7629
Fix progress message in action dialogues

The jQuery ajax method does not implement the full promise interface; it
does not call notify and so the progress callback cannot work. As a
substitute, we pass the progress callback as the beforeSend callback,
which is executed before an ajax send.

Also, we use a progress bar instead of a progress text message.

Signed-off-by: Steven Chan <steven3416@gmail.com>
src/od_action.coffee
src/od_api.coffee