Revision 85f1cd1e snf-cyclades-app/synnefo/ui/static/snf/js/sync.js
b/snf-cyclades-app/synnefo/ui/static/snf/js/sync.js | ||
---|---|---|
180 | 180 |
this.date_send = new Date; |
181 | 181 |
} |
182 | 182 |
|
183 |
if (handler_type == "beforeSend") { |
|
184 |
arguments[0].setRequestHeader('X-Auth-Token', synnefo.user.token); |
|
185 |
} |
|
186 |
|
|
183 | 187 |
// error with status code 0 in opera |
184 | 188 |
// act as 304 response |
185 | 189 |
if (handler_type == "error" && $.browser.opera) { |
Also available in: Unified diff