|
@@ -86,6 +86,9 @@ define(['app/app', 'jquery-uploadify'], function (app) {
|
|
|
var newBrand = {};
|
|
var newBrand = {};
|
|
|
newBrand.name = brand.name;
|
|
newBrand.name = brand.name;
|
|
|
newBrand.url = brand.url;
|
|
newBrand.url = brand.url;
|
|
|
|
|
+ if(isPdf(brand.url)) {
|
|
|
|
|
+ newBrand.isPdf = true
|
|
|
|
|
+ }
|
|
|
$scope.brands.push(newBrand);
|
|
$scope.brands.push(newBrand);
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|