Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

fix/rigs/js-update-arguments

  • Loading branch information
Stoyvo committed Apr 22, 2015
1 parent ecb880f commit cdf3d66f91a46bec3fafd902886f6a066cb07fc8
Showing with 5 additions and 1 deletion.
  1. +5 −1 js/dashboard/RigCollection.js
@@ -78,7 +78,11 @@
});

$.when.apply($, promises).done(function () {
overviewData = $.map(arguments, function (arr, idx) {
var arrData = arguments;
if (arguments.length != _self.collection.length && _self.collection.length == 1) {
arrData = [arguments];
}
overviewData = $.map(arrData, function (arr, idx) {
_self.collection[idx].update(arr[0])
_self._rigsResponded++;
return arr[0];

0 comments on commit cdf3d66

Please sign in to comment.
You can’t perform that action at this time.