Show
Ignore:
Timestamp:
04/29/05 14:21:46 (7 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/Content/Langstring.php

    r593 r601  
    164164                                                                $html .= "<div class='admin_section_tools'>\n"; 
    165165                                $name = "langstrings_".$this->id."_substring_$value[langstring_entries_id]_erase"; 
    166                                 $html .= "<input type='submit' name='$name' value='"._("Delete string")."' onclick='submit();'>"; 
     166                                $html .= "<input type='submit' name='$name' value='"._("Delete string")."'>"; 
    167167                                                                $html .= "</div>\n"; 
    168168                                                                $html .= "</li>\n"; 
     
    189189                 
    190190                $new_substring_submit_name = "langstrings_".$this->id."_add_new_entry"; 
    191                 $html .= "<input type='submit' name='$new_substring_submit_name' value='"._("Add new string")."' onclick='submit();'>"; 
     191                $html .= "<input type='submit' name='$new_substring_submit_name' value='"._("Add new string")."'>"; 
    192192                $html .= "</div>\n"; 
    193193                $html .= "</li>\n";