Changeset 1715


Ignore:
Timestamp:
2010-09-28 12:24:13 (3 years ago)
Author:
jgou
Message:

The cursor should be hidden (spotted by Dimitri and Marc).
This was discovered just now, because most of the time table rows are used as layout element and empty rows are not easily noticed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/kauri-forms/kauri-forms-framework/src/main/kauri/static-{build}.key/kauri.forms/control.js

    r1693 r1715  
    283283              }); 
    284284          }else{ 
    285               // it's a layout element : check if there is a cursor other insert a cursor before the element before removing it 
     285              // it's a layout element : check if there is a cursor, otherwise insert a cursor before the element before removing it 
    286286              if( ! store.getCursorIndex(index, group) ){ 
    287287               var cursor = $this.clone(); 
    288288               cursor.empty();  
     289               cursor.hide(); 
    289290               cursor.insertBefore($this); 
    290291               store.addCursorIndex(index, cursor, group); 
Note: See TracChangeset for help on using the changeset viewer.