~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/filesystem/browser/media/listing.js

  • Committer: David Coles
  • Date: 2010-06-02 14:11:09 UTC
  • mfrom: (1791.1.4 iefixes)
  • Revision ID: coles.david@gmail.com-20100602141109-a08a31ldeumqmlyg
Fixes to improve compatibility with IE8.

- Console overlay no longer crashes due to use of reserved 'class' variable 
  name
- Fixed missing subject heading due to unclosed <h3> tag
- Normalize newlines to single LF (fixes syntax errors in exercises)
- Fix checkboxes in File Browser

Show diffs side-by-side

added added

removed removed

Lines of Context:
634
634
<thead> \
635
635
  <tr class="rowhead"> \
636
636
    <th class="col-check"> \
637
 
      <input title="Select All" onchange="action_selectall(this.checked)" type="checkbox"> \
 
637
      <input title="Select All" onclick="action_selectall(this.checked)" type="checkbox"> \
638
638
    </th> \
639
639
    <th colspan="3" class="col-filename"> \
640
640
      <a onclick="return sort_listing(\'filename\', !sort_ascending)" title="Sort by filename" href="">Filename</a> \
711
711
        checkbox = document.createElement("input");
712
712
        checkbox.setAttribute("type", "checkbox");
713
713
        checkbox.setAttribute("title", "Select this file");
714
 
        checkbox.setAttribute("onchange", "update_selection()");
 
714
        checkbox.setAttribute("onclick", "update_selection()");
715
715
        /* Check the box if selected_files says it's selected */
716
716
        checkbox.checked = filename in sel_files_dict;
717
717
        td.appendChild(checkbox);