Changeset 29950


Ignore:
Timestamp:
06/07/15 17:28:13 (6 years ago)
Author:
davidb
Message:

added a modified field to note when colour palette selection requires a change in SVG editor. Also commented out 'active_page' variable as no used, as causes a javascript error if choose-palette is the active page on a force page reload

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/nz-flag-design/trunk/main-form/choose-palette.html

    r29924 r29950  
    3232     data-dom-cache="true"
    3333     data-prev="choose-canvas"
    34      data-next="iterative-design">
     34     data-next="iterative-design-jsp">
    3535     
    3636      <div data-role="content">
     
    9696                var colour_pot_pos = selectedColourPotID.replace("colour-pot","");
    9797                flagCanvasSettings.colourPots[colour_pot_pos] = colour.toHexString();
     98        flagCanvasSettings.modified = true;
    9899        }
    99100
     
    206207      //$(document).on("pagebeforeshow", function(event) {
    207208      $(document).on("pageload", function(event,data) {
    208         var active_page = $.mobile.activePage.attr("id");
     209        //var active_page = $.mobile.activePage.attr("id");
    209210        //console.log("Choose-Palette fielding Event:   pagebeforeshow() for page " + active_page);
    210211
     
    615616        }
    616617            }
     618       console.log("*** showColourPots(), flagCanvasSettings.modified being set to 'true'");
     619       flagCanvasSettings.modified = true;
     620
    617621        }       
    618622       
Note: See TracChangeset for help on using the changeset viewer.