Changeset 1136 for trunk/web-app/js


Ignore:
Timestamp:
Nov 15, 2010, 11:06:45 AM (11 years ago)
Author:
robert@…
Message:

Improved template editor to show field details when a field is selected for use in a template. See ticket 179

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web-app/js/templateEditor.js

    r1077 r1136  
    224224                // Disable all other listitems
    225225                $( '#availableTemplateFields li:not(#' + list_item_id + ')').addClass( 'ui-state-disabled' );
     226                $( '#selectedTemplateFields li:not(#' + list_item_id + ')').addClass( 'ui-state-disabled' );
    226227
    227228                if( list_item_id != 'templateField_new' ) {
     
    240241    // Enable all other listitems
    241242    $( '#availableTemplateFields li:not(#templateField_' + id + ')').removeClass( 'ui-state-disabled' );
     243        $( '#selectedTemplateFields li:not(#' + id + ')').removeClass( 'ui-state-disabled' );
    242244        $( '#addNew').removeClass( 'ui-state-disabled' );
    243245
Note: See TracChangeset for help on using the changeset viewer.