Ignore:
Timestamp:
2013-09-10T10:39:37+12:00 (11 years ago)
Author:
sjm84
Message:

Some more features added to the usertracker and hooking up the page to the editenabled variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-sites-dev/pei-jones/collect/photos/script/image-annotator/js/jquery.annotate2.js

    r28055 r28246  
    175175    **/
    176176    $.fn.annotateImage.add = function(image) {
    177        
    178177        console.log("image mode = " + image.mode);
    179178        if (image.mode == 'view') {
    180179            image.mode = 'edit';
     180           
     181            gs.userInformation.currentAction = "editingNote";
    181182
    182183            // Create/prepare the editable note elements
     
    196197
    197198        ok.click(function() {
    198                        
     199            gs.userInformation.currentAction = "savingNote";
    199200            var form = $('#image-annotate-edit-form form');
    200201            var text = $('#image-annotate-text').val();
Note: See TracChangeset for help on using the changeset viewer.