| Line 49... |
Line 49... |
| 49 |
console.log(obj);
|
49 |
console.log(obj);
|
| 50 |
console.log(obj.displayName);
|
50 |
console.log(obj.displayName);
|
| 51 |
$(".modal-body h4.bagModalProductInfo.modelHeaderCustom > span").text(obj.displayName);
|
51 |
$(".modal-body h4.bagModalProductInfo.modelHeaderCustom > span").text(obj.displayName);
|
| 52 |
$(".modal-body h4.bagModalAvailability.modelHeaderCustom > span").text(obj.availability);
|
52 |
$(".modal-body h4.bagModalAvailability.modelHeaderCustom > span").text(obj.availability);
|
| 53 |
inputEle = [];
|
53 |
inputEle = [];
|
| 54 |
if ("earlyImeis" in obj) {
|
54 |
if ("earlyImeis" in obj && earlyImeis.length > 0) {
|
| 55 |
for (i in obj.earlyImeis) {
|
55 |
for (i in obj.earlyImeis) {
|
| 56 |
inputEle.push('<span class="input-group-addon">');
|
56 |
inputEle.push('<span class="input-group-addon">');
|
| 57 |
inputEle.push('<input type="checkbox" aria-label="..." name="interest" value="' + obj.earlyImeis[i] + '" id="' + obj.earlyImeis[i] + '"/>');
|
57 |
inputEle.push('<input type="checkbox" aria-label="..." name="interest" value="' + obj.earlyImeis[i] + '" id="' + obj.earlyImeis[i] + '"/>');
|
| 58 |
inputEle.push('<label for="' + obj.earlyImeis[i] + '">' + obj.earlyImeis[i] + '</label>');
|
58 |
inputEle.push('<label for="' + obj.earlyImeis[i] + '">' + obj.earlyImeis[i] + '</label>');
|
| 59 |
inputEle.push('</span>');
|
59 |
inputEle.push('</span>');
|