Changeset 3921


Ignore:
Timestamp:
Oct 28, 2010, 1:16:07 PM (13 years ago)
Author:
Gregory Vincic
Message:

Removed closePopup method, using hide() instead

Location:
trunk/client/servlet
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/servlet/src/org/proteios/gui/web/GUIConverter.java

    r3920 r3921  
    11211121            String id = getLastId();
    11221122            title.newImg().setSrc(imagePath + (String) iconSet.get("Close"))
    1123             .setClass("close").setOnClick("closePopup('" + id + "')");
     1123            .setClass("close").setOnClick("hide('" + id + "')");
    11241124        }
    11251125        if (win.getTitle() != null)
  • trunk/client/servlet/www/static/js/script.js

    r3920 r3921  
    139139    var div = getElement(id);
    140140    div.style.display = "none";
    141 }
    142 
    143 function closePopup(id)
    144 {
    145     hide(id);
    146141}
    147142
     
    238233
    239234/*
    240     Add a field to a form. If it already exists the value is changed.
     235    Add a field to a form. If it already exists, the value is changed.
    241236*/
    242237function addField(formId, name, value)
Note: See TracChangeset for help on using the changeset viewer.