897587 Adjust the update_issue endpoint to return ok if we updated via javascript

Authored and Committed by Pierre-Yves Chibon 10 years ago
    Adjust the update_issue endpoint to return ok if we updated via javascript
    
    If the POST url contains a ?js=1 and all goes fine, the method will
    return a simple 'Ok', otherwise it will return some html which means
    something went wrong.
    On the JS side, we can then check if the update did go through or not.
    
        
file modified
+10 -2