1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-26 22:46:53 -04:00

UI Cleanup - Updated Instrumentation, jQuery and Mixins subtrees.

This commit is contained in:
Taloth Saldono
2015-02-13 22:06:20 +01:00
parent 44928c8f64
commit 70bfad4e6a
24 changed files with 716 additions and 490 deletions
+11 -5
View File
@@ -1,16 +1,22 @@
module.exports = function(){
module.exports = function() {
var originalInit = this.prototype.initialize;
this.prototype.initialize = function(){
this.prototype.initialize = function() {
this.isSaved = true;
this.on('change', function(){
this.on('change', function() {
this.isSaved = false;
}, this);
this.on('sync', function(){
this.on('sync', function() {
this.isSaved = true;
}, this);
if(originalInit) {
if (originalInit) {
originalInit.call(this);
}
};
return this;
};