Changeset 2017869
- Timestamp:
- 01/23/2019 07:07:28 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
segmentlab-extension/trunk/segment-lab-extension.php
r2017689 r2017869 1206 1206 eilute_ilgis = 0; 1207 1207 } 1208 1209 if (eilute_ilgis > 1) { 1210 $('#ending_value_1').remove(); 1211 } 1208 1212 for (i = 1; i < eilute_ilgis; i++) { 1209 $('#ending_value_1').remove();1210 1213 $('#checkbox_example0_counter0').remove(); 1211 1212 1214 var variable_for_price_cut = eilute_cut[i]; 1213 1215 var variable_for_price_cut_first_char = eilute_cut[i].charAt(0); … … 1215 1217 variable_for_price_cut = "+"+variable_for_price_cut; 1216 1218 } 1217 if (variable_for_price_cut.length > 1) { 1218 var lentele = '<td><span style="color: #8c8c8c; font-size:15px; float:left; width:20px; margin-top:3px; padding-left:5px; padding-right: 15px;">'+(i+1)+'.</span><input id="ending_value_'+(i)+'" name="varna" type="text" style="width:85px; border-style:solid; border-width:1px; border-radius:3px; color:#5b5b6b; font-weight: 100; margin:0px;" placeholder="+/- 0.00" value="'+variable_for_price_cut+'"></ input></td>';1219 if (variable_for_price_cut.length > 1) { 1220 var lentele = '<td><span style="color: #8c8c8c; font-size:15px; float:left; width:20px; margin-top:3px; padding-left:5px; padding-right: 15px;">'+(i+1)+'.</span><input id="ending_value_'+(i)+'" name="varna" type="text" style="width:85px; border-style:solid; border-width:1px; border-radius:3px; color:#5b5b6b; font-weight: 100; margin:0px;" placeholder="+/- 0.00" value="'+variable_for_price_cut+'"></td>'; 1219 1221 $('#myTable').append('<tr class="child">'+lentele+'</tr>'); 1220 1221 1222 if (eilute_ilgis > 11) { 1222 1223 break;
Note: See TracChangeset
for help on using the changeset viewer.