Skip to content
Snippets Groups Projects
Commit a6e5f4b8 authored by Björn Schießle's avatar Björn Schießle
Browse files

some minor improvements

parent 9639544c
No related branches found
No related tags found
No related merge requests found
<?php
if(!OC_User::isLoggedIn()) {
if(!OCP\User::isLoggedIn()) {
exit;
}
......@@ -9,6 +9,7 @@ $dirlisting = $_REQUEST['dirlisting'];
$list = explode(';', $files);
$error = array();
$success = array();
$i = 0;
foreach ($list as $file) {
......
......@@ -30,7 +30,7 @@ $(document).ready(function() {
$('td.filename input:checkbox').attr('checked', false);
$('td.filename input:checkbox').parent().parent().removeClass('selected');
}
procesSelection();
processSelection();
});
$('td.filename input:checkbox').live('change',function(event) {
......@@ -59,7 +59,7 @@ $(document).ready(function() {
$('#select_all').attr('checked',true);
}
}
procesSelection();
processSelection();
});
$('.undelete').click('click',function(event) {
......@@ -81,7 +81,7 @@ $(document).ready(function() {
});
function procesSelection(){
function processSelection(){
var selected=getSelectedFiles();
var selectedFiles=selected.filter(function(el){return el.type=='file'});
var selectedFolders=selected.filter(function(el){return el.type=='dir'});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment