Changeset 4385


Ignore:
Timestamp:
Aug 8, 2008, 1:47:33 PM (13 years ago)
Author:
Nicklas Nordborg
Message:

References #1015: Add reporter list from tables that list reporters/reporter info

Fixed a problem with creating a reporter list with only the "Selected items".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/views/reporterlists/edit_reporterlist.jsp

    r4306 r4385  
    155155    // Get the ID:s of all selected reorters
    156156    var selectedItems = new Array();
     157    var hasCheckSelectedItems = false;
    157158    function getSelectedItems()
    158159    {
     
    161162      {
    162163        %>
    163         if (!selectedItems)
     164        if (!hasCheckSelectedItems)
    164165        {
    165166          selectedItems = window.opener.Table.getSelected('<%=formId%>');
     167          hasCheckedSelectedItems = true;
    166168        }
    167169        <%
Note: See TracChangeset for help on using the changeset viewer.