Changeset 7b0dbc in indico


Ignore:
Timestamp:
06/10/10 18:11:32 (3 years ago)
Author:
Jeremy Herr <jeremy.herr@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, new-webex, v0.97-series, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
Children:
20dbe9f
Parents:
66fbc0
git-author:
Jeremy Herr <jeremy.herr@…> (03/17/10 12:00:38)
git-committer:
Jeremy Herr <jeremy.herr@…> (06/10/10 18:11:32)
Message:

[IMP] Auto-scroll down

Added javascript to onLoad() in Main.js to automatically scroll down the page so the interface takes up the whole page

Also cleaned up some comments and empty lines in output.py

Location:
indico/MaKaC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/common/output.py

    rd531f9 r7b0dbc  
    10821082 
    10831083                    # Get subfields from plugin settings: 
    1084  
    1085  
    10861084                    field506tag2 = CollaborationTools.getOptionValue("RecordingManager", "MarcField506Subfield2") 
    1087 #                    PluginsHolder().getPluginType("Collaboration").getPlugin("RecordingManager"). 
    10881085                    field506tag5 = CollaborationTools.getOptionValue("RecordingManager", "MarcField506Subfield5") 
    10891086 
  • indico/MaKaC/plugins/Collaboration/RecordingManager/tpls/Main.js

    r66fbc0 r7b0dbc  
    1 {  
     1{ 
    22    checkParams : function () { 
    33        return { 
    44        } 
    55    }, 
    6      
     6 
    77    errorHandler: function(event, error) { 
    8          
     8 
    99    }, 
    10      
     10 
    1111    customText : function(booking) { 
    1212        if (booking.acceptRejectStatus === false && trim(booking.rejectionReason)) { 
     
    1414        } 
    1515    }, 
    16      
     16 
    1717    clearForm : function () { 
    18          
     18 
    1919    }, 
    20      
     20 
    2121    onLoad : function() { 
    22  
     22        // automatically scroll down to fit the page into one window 
     23        document.getElementById('scroll_down').scrollIntoView(true) 
    2324    } 
    2425} 
  • indico/MaKaC/plugins/Collaboration/RecordingManager/tpls/NewBookingForm.tpl

    r66fbc0 r7b0dbc  
    11<% declareTemplate(newTemplateStyle=True) %> 
    22 
    3 <a name="top" /> 
     3<a name="top" id="scroll_down"/> 
    44 
    55<table> 
Note: See TracChangeset for help on using the changeset viewer.