12139c6 Use disabled template for mappings and lists

Authored and Committed by simo 9 years ago
    Use disabled template for mappings and lists
    
    This way lists and mappings can be empty and still allow cloning
    of the last row which is always disabled and hidden.
    
    The javascript now clones the last row then fixes the indexes in the
    new cloned row, and re-enables and un-hides the previous last which
    becomes a new empty row.
    
    https://fedorahosted.org/ipsilon/ticket/25
    
    Signed-off-by: Simo Sorce <simo@redhat.com>
    Reviewed-by: Rob Crittenden <rcritten@redhat.com>