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

« back to all changes in this revision

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

  • Committer: David Coles
  • Date: 2010-07-20 05:42:59 UTC
  • Revision ID: coles.david@gmail.com-20100720054259-j4xyqagognlis8wh
Added Subversion rename to Filebrowser.

Allows for versioned files to be renamed without having to delete/add them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
789
789
    /* Subversion actions */
790
790
    /* These are only useful if we are in a versioned directory and have some
791
791
     * files selected. */
 
792
    set_action_state(["svnrename"], numsel == 1 && current_file.svnstatus);
792
793
    set_action_state(["svnadd"], numsel >= 1 && current_file.svnstatus);
793
794
    /* And these are only useful is ALL the selected files are versioned */
794
795
    set_action_state(["svnremove", "svnrevert", "svncopy", "svncut"],
932
933
        action_add(selected_files);
933
934
        break;
934
935
    case "svnremove":
935
 
        action_remove(selected_files);
 
936
        action_svnremove(selected_files);
 
937
        break;
 
938
    case "svnrename":
 
939
        action_svnrename(selected_files);
936
940
        break;
937
941
    case "svnrevert":
938
942
        action_revert(selected_files);