Plugin Directory

Changeset 2017869


Ignore:
Timestamp:
01/23/2019 07:07:28 PM (7 years ago)
Author:
segmentlab
Message:

price endings bug save change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • segmentlab-extension/trunk/segment-lab-extension.php

    r2017689 r2017869  
    12061206                                                        eilute_ilgis = 0;
    12071207                                                    }
     1208
     1209                                                    if (eilute_ilgis > 1) {
     1210                                                        $('#ending_value_1').remove();
     1211                                                    }
    12081212                                                    for (i = 1; i < eilute_ilgis; i++) {
    1209                                                         $('#ending_value_1').remove();
    12101213                                                        $('#checkbox_example0_counter0').remove();
    1211 
    12121214                                                        var variable_for_price_cut = eilute_cut[i];
    12131215                                                        var variable_for_price_cut_first_char = eilute_cut[i].charAt(0);
     
    12151217                                                            variable_for_price_cut = "+"+variable_for_price_cut;                                       
    12161218                                                        }   
    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>';
    12191221                                                            $('#myTable').append('<tr class="child">'+lentele+'</tr>');
    1220 
    12211222                                                            if (eilute_ilgis > 11) {
    12221223                                                                break;
Note: See TracChangeset for help on using the changeset viewer.