Show
Ignore:
Timestamp:
04/29/05 14:21:46 (8 years ago)
Author:
fproulx
Message:

2005-04-29 Fran�ois Proulx <francois.proulx@…>

  • Removed all inline unuseful javascript code on submit buttons onclick='submit()'
  • This conflicted with the actual click on the submit button in Safari
  • Fixed check in Network for isOwner, only check superAdmin
  • Fixed bug so you can't add an existing content group to itself ( deadlock )
  • Started coding Pattern language narrative display
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/classes/Node.php

    r600 r601  
    354354                        $html .= "<div class='admin_section_tools'>\n"; 
    355355                        $name = "node_".$this->id."_content_".$content->GetId()."_erase"; 
    356                         $html .= "<input type='submit' name='$name' value='"._("Remove")."' onclick='submit();'>"; 
     356                        $html .= "<input type='submit' name='$name' value='"._("Remove")."'>"; 
    357357                        $html .= "</div>\n"; 
    358358                        $html .= "</li>\n"; 
     
    362362                $html .= Content :: getSelectContentUI($name, "AND content_id NOT IN (SELECT content_id FROM node_has_content WHERE node_id='$this->id')"); 
    363363                $name = "node_{$this->id}_new_content_submit"; 
    364                 $html .= "<input type='submit' name='$name' value='"._("Add")."' onclick='submit();'>"; 
     364                $html .= "<input type='submit' name='$name' value='"._("Add")."'>"; 
    365365                $html .= "</li>\n"; 
    366366                $html .= "</ul>\n";