mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 22:13:13 +00:00
Add hasCallbacks method
This commit is contained in:
@@ -31,6 +31,9 @@ define([
|
||||
},
|
||||
'pushCallback': function (callback) {
|
||||
callbackStack.push(callback);
|
||||
},
|
||||
'hasCallbacks' : function() {
|
||||
return callbackStack.length > 0;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user