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

« back to all changes in this revision

Viewing changes to www/media/browser/editor.js

  • Committer: mattgiuca
  • Date: 2008-06-23 12:50:18 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:794
editor.js: Don't disable the save button upon load (temp fix, we can't
    reliable enable it).

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
    savebutton.setAttribute("id", "save_button");
41
41
    savebutton.setAttribute("type", "button");
42
42
    savebutton.setAttribute("value", "Saved");
43
 
    savebutton.setAttribute("disabled", "disabled");
 
43
    // XXX Do not disable for now; there is a problem getting the callback
 
44
    // to edit_text.
 
45
    //savebutton.setAttribute("disabled", "disabled");
44
46
    savebutton.setAttribute("onclick", "save_file()");
45
47
    p.appendChild(savebutton);
46
48
    var t = document.createTextNode(" ");