Changeset fc4880 in indico


Ignore:
Timestamp:
03/10/11 18:54:31 (2 years ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
Children:
902050
Parents:
78ae7ff
git-author:
Adrian Moennich <jerome.ernst.monnich@…> (03/10/11 14:33:53)
git-committer:
Jose Benito <jose.benito.gonzalez@…> (03/10/11 18:54:31)
Message:

[FIX] collaboration admin options js error

  • do not access undefined variables when submitting form
File:
1 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/webinterface/tpls/AdminPluginsOptionList.tpl

    ra92d2a rfc4880  
    11<% from MaKaC.fossils.user import IAvatarFossil %> 
     2 
     3    <script type="text/javascript"> 
     4    // dummies which will be redefined if ckEditor is used 
     5    var fillText = function() {}; 
     6    var editor = { get: function(){} }; 
     7    </script> 
    28 
    39    <% if ObjectType == "PluginType" :%> 
     
    431437        <tr> 
    432438            <td colspan="2" style="text-align: right;"> 
    433                 <input type="submit" name="Save" value="<%= _("Save settings") %>" onClick="fillText(editor.get())"/> 
     439                <input type="submit" name="Save" value="<%= _("Save settings") %>" onclick="fillText(editor.get());"/> 
    434440            </td> 
    435441        </tr> 
Note: See TracChangeset for help on using the changeset viewer.