Changeset d917d0c in indico


Ignore:
Timestamp:
03/18/11 15:58:00 (2 years ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 4c7d4152dff271ba5df5a8606605969cab454080
Children:
6daba8
Parents:
ae9700
git-author:
Adrian Moennich <jerome.ernst.monnich@…> (03/18/11 15:53:16)
git-committer:
Pedro Ferreira <jose.pedro.ferreira@…> (03/18/11 15:58:00)
Message:

[FIX] Properly submit room data when modifying event

File:
1 edited

Legend:

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

    r19bf0b rd917d0c  
    165165        $E('shortTag').set(shortTags); 
    166166 
    167         var submitButton = Html.input('button', {className: 'btn'}, $T("ok")); 
     167        var submitButton = Html.input('submit', {className: 'btn'}, $T("ok")); 
    168168        var cancelButton = Html.input('button', {className: 'btn', name: 'cancel'}, $T("cancel")); 
    169169        $E('submitPlace').set(submitButton, cancelButton); 
    170170 
    171171        submitButton.observeClick(function(){ 
    172             if (parameterManager.check()) { 
    173                 document.getElementById('eventModificationForm').submit(); 
     172            if (!parameterManager.check()) { 
     173                return false; 
    174174            } 
    175175        }); 
Note: See TracChangeset for help on using the changeset viewer.