waymondo / turboboost

Enhanced AJAX handling for Rails apps
166 stars 17 forks source link

fixed missing trigger events when using rermotipart #17

Closed emn178 closed 8 years ago

emn178 commented 8 years ago

Hi,

I found in some cases that status returns string type, for example, response from remotipart. This causes incorrect condition and not trigger events. convert to integer to fix it.

waymondo commented 8 years ago

I don't use remotipart but I trust this is a fix for what you are encountering and seems safe to merge. Thanks for the contribution.