Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding ajax error handling when user info request returns error, fixi…

…ng image issues
  • Loading branch information...
commit 7ea44e898a3ca8875cb2554bd36a0753c62c2518 1 parent 6125aef
@rdohms authored
View
24 public/css/fonts.css
@@ -4,48 +4,48 @@
@font-face {
font-family: 'TitilliumText22LThin';
- src: url('/fonts/TitilliumText22L001-webfont.eot');
- src: local(''), url('/fonts/TitilliumText22L001-webfont.woff') format('woff'), url('/fonts/TitilliumText22L001-webfont.ttf') format('truetype'), url('/fonts/TitilliumText22L001-webfont.svg#webfontY46BzlYn') format('svg');
+ src: url('fonts/TitilliumText22L001-webfont.eot');
+ src: local(''), url('fonts/TitilliumText22L001-webfont.woff') format('woff'), url('fonts/TitilliumText22L001-webfont.ttf') format('truetype'), url('fonts/TitilliumText22L001-webfont.svg#webfontY46BzlYn') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'TitilliumText22LLight';
- src: url('/fonts/TitilliumText22L002-webfont.eot');
- src: local(''), url('/fonts/TitilliumText22L002-webfont.woff') format('woff'), url('/fonts/TitilliumText22L002-webfont.ttf') format('truetype'), url('/fonts/TitilliumText22L002-webfont.svg#webfontWLF9Q09S') format('svg');
+ src: url('fonts/TitilliumText22L002-webfont.eot');
+ src: local(''), url('fonts/TitilliumText22L002-webfont.woff') format('woff'), url('fonts/TitilliumText22L002-webfont.ttf') format('truetype'), url('fonts/TitilliumText22L002-webfont.svg#webfontWLF9Q09S') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'TitilliumText22LRegular';
- src: url('/fonts/TitilliumText22L003-webfont.eot');
- src: local(''), url('/fonts/TitilliumText22L003-webfont.woff') format('woff'), url('/fonts/TitilliumText22L003-webfont.ttf') format('truetype'), url('/fonts/TitilliumText22L003-webfont.svg#webfontiXtJn0Qu') format('svg');
+ src: url('fonts/TitilliumText22L003-webfont.eot');
+ src: local(''), url('fonts/TitilliumText22L003-webfont.woff') format('woff'), url('fonts/TitilliumText22L003-webfont.ttf') format('truetype'), url('fonts/TitilliumText22L003-webfont.svg#webfontiXtJn0Qu') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'TitilliumText22LMedium';
- src: url('/fonts/TitilliumText22L004-webfont.eot');
- src: local(''), url('/fonts/TitilliumText22L004-webfont.woff') format('woff'), url('/fonts/TitilliumText22L004-webfont.ttf') format('truetype'), url('/fonts/TitilliumText22L004-webfont.svg#webfontd3ljp2K0') format('svg');
+ src: url('fonts/TitilliumText22L004-webfont.eot');
+ src: local(''), url('fonts/TitilliumText22L004-webfont.woff') format('woff'), url('fonts/TitilliumText22L004-webfont.ttf') format('truetype'), url('fonts/TitilliumText22L004-webfont.svg#webfontd3ljp2K0') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'TitilliumText22LBold';
- src: url('/fonts/TitilliumText22L005-webfont.eot');
- src: local(''), url('/fonts/TitilliumText22L005-webfont.woff') format('woff'), url('/fonts/TitilliumText22L005-webfont.ttf') format('truetype'), url('/fonts/TitilliumText22L005-webfont.svg#webfontZL0yA7s8') format('svg');
+ src: url('fonts/TitilliumText22L005-webfont.eot');
+ src: local(''), url('fonts/TitilliumText22L005-webfont.woff') format('woff'), url('fonts/TitilliumText22L005-webfont.ttf') format('truetype'), url('fonts/TitilliumText22L005-webfont.svg#webfontZL0yA7s8') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'TitilliumText22LXBold';
- src: url('/fonts/TitilliumText22L006-webfont.eot');
- src: local(''), url('/fonts/TitilliumText22L006-webfont.woff') format('woff'), url('/fonts/TitilliumText22L006-webfont.ttf') format('truetype'), url('/fonts/TitilliumText22L006-webfont.svg#webfontDGZcY3kb') format('svg');
+ src: url('fonts/TitilliumText22L006-webfont.eot');
+ src: local(''), url('fonts/TitilliumText22L006-webfont.woff') format('woff'), url('fonts/TitilliumText22L006-webfont.ttf') format('truetype'), url('fonts/TitilliumText22L006-webfont.svg#webfontDGZcY3kb') format('svg');
font-weight: normal;
font-style: normal;
}
View
0  public/images/overlay/apple-close.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/images/overlay/apple.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/images/overlay/black.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/images/overlay/close.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/images/overlay/flowplayer.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/images/overlay/gray.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/images/overlay/petrol.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/images/overlay/red.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/images/overlay/transparent.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/images/overlay/white.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/images/overlay/white_chromebutton.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/images/overlay/white_close.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/images/tooltip/black.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/images/tooltip/black_arrow.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/images/tooltip/black_arrow_big.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/images/tooltip/black_arrow_small.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/images/tooltip/black_big.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/images/tooltip/white.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/images/tooltip/white_arrow.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/images/tooltip/white_arrow_big.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/images/tooltip/white_big.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
5 public/js/cmds.js
@@ -10,6 +10,11 @@ function loadUserInfo(uid, token) {
var r = $.parseJSON(response);
$('#user_' + r.data.uid + '_loading').hide();
$('#userInfoTpl').tmpl(r.data).appendTo('#user_' + r.data.uid)
+ },
+ error: function(response) {
+ var r = $.parseJSON(response.responseText);
+ $('#user_' + uid + '_loading').hide();
+ $('#user_' + uid).html('Error: ' + r.message)
}
});
}
Please sign in to comment.
Something went wrong with that request. Please try again.