Skip to content

Instantly share code, notes, and snippets.

render: function () {
var _this = this;
var $el = $(this.template);
this.setElement($el);
if(this.formGrid){
$el.find('.input-group-addon').addClass('hide');
}
$.ajaxSetup({
beforeSend: function(xhr) {
xhr.setRequestHeader('Authorization', '');
},
error: function(jqXhr, status, error) {
self.checkTokenValidity(true);
}
});