Changeset ccf32b5 in indico


Ignore:
Timestamp:
12/01/11 13:38:19 (18 months ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
Branches:
master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
Children:
cfc365
Parents:
1e7e45
git-author:
Adrian Moennich <jerome.ernst.monnich@…> (11/09/11 17:40:46)
git-committer:
Pedro Ferreira <jose.pedro.ferreira@…> (12/01/11 13:38:19)
Message:

[FIX] Properly(?) handle "stopDrawing"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • indico/htdocs/js/indico/Core/Widgets/Base.js

    rdaac7e rccf32b5  
    608608        try { 
    609609            var content = generator(); 
    610         } catch(e) { alert(e); return; } 
     610        } catch(e) { 
     611            if(e == 'stopDrawing') { 
     612                return; 
     613            } 
     614            throw e; 
     615        } 
    611616        if(content.dom) { 
    612617            content = content.dom; 
Note: See TracChangeset for help on using the changeset viewer.