UI Cleanup - Updated Shared and Shims subtrees.

This commit is contained in:
Taloth Saldono
2015-02-14 11:17:53 +01:00
parent 019525dd9d
commit d6079a701c
39 changed files with 686 additions and 448 deletions
+3 -3
View File
@@ -1,13 +1,13 @@
var $ = require('jquery');
var vent = require('vent');
$(document).ajaxSuccess(function(event, xhr){
$(document).ajaxSuccess(function(event, xhr) {
var version = xhr.getResponseHeader('X-ApplicationVersion');
if(!version || !window.NzbDrone || !window.NzbDrone.Version) {
if (!version || !window.NzbDrone || !window.NzbDrone.Version) {
return;
}
if(version !== window.NzbDrone.Version) {
if (version !== window.NzbDrone.Version) {
vent.trigger(vent.Events.ServerUpdated);
}
});