mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
Address simple issues raised in PR
This commit is contained in:
@@ -594,7 +594,7 @@ Tomahawk.base64Encode = function(b) { return window.btoa(b); };
|
||||
Tomahawk.PluginManager = {
|
||||
objects: {},
|
||||
identifyObject: function (object) {
|
||||
if( object.id === undefined ) {
|
||||
if( !object.hasOwnProperty('id') ) {
|
||||
object.id = Tomahawk.uuid();
|
||||
}
|
||||
|
||||
@@ -612,7 +612,7 @@ Tomahawk.PluginManager = {
|
||||
requestId: requestId,
|
||||
data: result
|
||||
});
|
||||
},function (error) {
|
||||
}, function (error) {
|
||||
Tomahawk.reportScriptJobResults({error: error});
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user