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

« back to all changes in this revision

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

  • Committer: wagrant
  • Date: 2008-07-21 06:26:27 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:921
fileservice_lib, browser: Rename the old remove action to delete, to
      make room for our new svn remove action, which was just added.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
    return false;
51
51
}
52
52
 
53
 
function action_remove(files)
 
53
function action_delete(files)
54
54
{
55
55
    var conf_msg;
56
56
    /* A heavy nesty bit of logic to determine the confirmation message.
97
97
 
98
98
    var confirmed = confirm(conf_msg);
99
99
    if (!confirmed) return;
100
 
    do_action("remove", current_path, {"path":files});
 
100
    do_action("delete", current_path, {"path":files});
101
101
    return false;
102
102
}
103
103
 
163
163
    return false;
164
164
}
165
165
 
 
166
function action_remove(files)
 
167
{
 
168
    do_action("svnremove", current_path, {"path":files});
 
169
    return false;
 
170
}
 
171
 
166
172
function action_revert(files)
167
173
{
168
174
    do_action("svnrevert", current_path, {"path":files});