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