|
@@ -598,7 +598,8 @@ SC.loadPackage({ 'FileManagerWindow': {
|
|
SuperGlue.get('server').do('removeFile', {
|
|
SuperGlue.get('server').do('removeFile', {
|
|
path: fullPath,
|
|
path: fullPath,
|
|
onerror: function() {
|
|
onerror: function() {
|
|
- alert('File could not be removed.\nError Message:\n\n' + arguments);
|
|
|
|
|
|
+ alert('File could not be removed.\nSee console for error message.');
|
|
|
|
+ console.log(arguments);
|
|
},
|
|
},
|
|
onsuccess: function() {
|
|
onsuccess: function() {
|
|
|
|
|
|
@@ -619,7 +620,8 @@ SC.loadPackage({ 'FileManagerWindow': {
|
|
SuperGlue.get('server').do('removeDirectory', {
|
|
SuperGlue.get('server').do('removeDirectory', {
|
|
path: fullPath,
|
|
path: fullPath,
|
|
onerror: function() {
|
|
onerror: function() {
|
|
- alert('Directory could not be removed.\nError Message:\n\n' + arguments);
|
|
|
|
|
|
+ alert('Directory could not be removed.\nSee console for error message.');
|
|
|
|
+ console.log(arguments);
|
|
},
|
|
},
|
|
onsuccess: function() {
|
|
onsuccess: function() {
|
|
|
|
|
|
@@ -681,7 +683,8 @@ SC.loadPackage({ 'FileManagerWindow': {
|
|
SuperGlue.get('server').do('directoryListing', {
|
|
SuperGlue.get('server').do('directoryListing', {
|
|
path: arg.path,
|
|
path: arg.path,
|
|
onerror: function() {
|
|
onerror: function() {
|
|
- alert('Directory Listing failed.\nError Message:\n\n' + this);
|
|
|
|
|
|
+ alert('Directory listing failed.\nSee console for error message.');
|
|
|
|
+ console.log(arguments);
|
|
},
|
|
},
|
|
onsuccess: function() {
|
|
onsuccess: function() {
|
|
|
|
|
|
@@ -893,7 +896,8 @@ SC.loadPackage({ 'FileManagerWindow': {
|
|
SuperGlue.get('server').do('doesDirectoryExist', {
|
|
SuperGlue.get('server').do('doesDirectoryExist', {
|
|
path: destination,
|
|
path: destination,
|
|
onerror: function() {
|
|
onerror: function() {
|
|
- alert('Checking if directory exists threw an error.\nError Message:\n\n' + this);
|
|
|
|
|
|
+ alert('Could not check if directory exists.\nSee console for error message.');
|
|
|
|
+ console.log(this);
|
|
},
|
|
},
|
|
onsuccess: function(aBoolean) {
|
|
onsuccess: function(aBoolean) {
|
|
|
|
|
|
@@ -912,7 +916,8 @@ SC.loadPackage({ 'FileManagerWindow': {
|
|
SuperGlue.get('server').do('makeDirectory', {
|
|
SuperGlue.get('server').do('makeDirectory', {
|
|
path: destination,
|
|
path: destination,
|
|
onerror: function() {
|
|
onerror: function() {
|
|
- alert('Directory could not be created.\nError Message:\n\n' + this);
|
|
|
|
|
|
+ alert('Directory could not be created.\nSee console for error message.');
|
|
|
|
+ console.log(arguments);
|
|
},
|
|
},
|
|
onsuccess: function() {
|
|
onsuccess: function() {
|
|
|
|
|
|
@@ -958,7 +963,8 @@ SC.loadPackage({ 'FileManagerWindow': {
|
|
SuperGlue.get('server').do('doesFileExist', {
|
|
SuperGlue.get('server').do('doesFileExist', {
|
|
path: destination,
|
|
path: destination,
|
|
onerror: function() {
|
|
onerror: function() {
|
|
- alert('Checking if file exists threw an error.\nError Message:\n\n' + this);
|
|
|
|
|
|
+ alert('Could not check if file already exists.\nSee console for error message.');
|
|
|
|
+ console.log(arguments);
|
|
},
|
|
},
|
|
onsuccess: function(aBoolean) {
|
|
onsuccess: function(aBoolean) {
|
|
|
|
|
|
@@ -995,7 +1001,8 @@ SC.loadPackage({ 'FileManagerWindow': {
|
|
data: uploadForm,
|
|
data: uploadForm,
|
|
path: destination,
|
|
path: destination,
|
|
onerror: function() {
|
|
onerror: function() {
|
|
- alert('Upload failed.\nError Message:\n\n' + this);
|
|
|
|
|
|
+ alert('File could not be uploaded.\nSee console for error message.');
|
|
|
|
+ console.log(arguments);
|
|
},
|
|
},
|
|
onprogress: function(evt){
|
|
onprogress: function(evt){
|
|
|
|
|
|
@@ -1071,7 +1078,8 @@ SC.loadPackage({ 'FileManagerWindow': {
|
|
SuperGlue.get('server').do(checkFunctionName, {
|
|
SuperGlue.get('server').do(checkFunctionName, {
|
|
path: destination,
|
|
path: destination,
|
|
onerror: function() {
|
|
onerror: function() {
|
|
- alert('Checking if path already exists threw an error.\nError Message:\n\n' + this);
|
|
|
|
|
|
+ alert('Could not check if path already exists.\nSee console for error message.');
|
|
|
|
+ console.log(arguments);
|
|
},
|
|
},
|
|
onsuccess: function(aBoolean) {
|
|
onsuccess: function(aBoolean) {
|
|
|
|
|
|
@@ -1096,7 +1104,8 @@ SC.loadPackage({ 'FileManagerWindow': {
|
|
sourcePath: arg.origin,
|
|
sourcePath: arg.origin,
|
|
targetPath: destination,
|
|
targetPath: destination,
|
|
onerror: function() {
|
|
onerror: function() {
|
|
- alert('File could not be copied to new location.\nError Message:\n\n' + this);
|
|
|
|
|
|
+ alert('File could not be copied to new location.\nSee console for error message.');
|
|
|
|
+ console.log(arguments);
|
|
},
|
|
},
|
|
onprogress: function(evt){
|
|
onprogress: function(evt){
|
|
//
|
|
//
|
|
@@ -1156,7 +1165,8 @@ SC.loadPackage({ 'FileManagerWindow': {
|
|
SuperGlue.get('server').do(checkFunctionName, {
|
|
SuperGlue.get('server').do(checkFunctionName, {
|
|
path: destination,
|
|
path: destination,
|
|
onerror: function() {
|
|
onerror: function() {
|
|
- alert('Checking if path already exists threw an error.\nError Message:\n\n' + this);
|
|
|
|
|
|
+ alert('Could not check if path already exists.\nSee console for error message.');
|
|
|
|
+ console.log(arguments);
|
|
},
|
|
},
|
|
onsuccess: function(aBoolean) {
|
|
onsuccess: function(aBoolean) {
|
|
|
|
|
|
@@ -1189,7 +1199,8 @@ SC.loadPackage({ 'FileManagerWindow': {
|
|
sourcePath: arg.originPath,
|
|
sourcePath: arg.originPath,
|
|
targetPath: destination,
|
|
targetPath: destination,
|
|
onerror: function() {
|
|
onerror: function() {
|
|
- alert('File / Directory could not be copied.\nError Message:\n\n' + this);
|
|
|
|
|
|
+ alert('Could not copy file / directory.\nSee console for error message.');
|
|
|
|
+ console.log(arguments);
|
|
},
|
|
},
|
|
onprogress: function(evt){
|
|
onprogress: function(evt){
|
|
//
|
|
//
|
|
@@ -1239,8 +1250,8 @@ SC.loadPackage({ 'FileManagerWindow': {
|
|
SuperGlue.get('server').do('doesFileExist', {
|
|
SuperGlue.get('server').do('doesFileExist', {
|
|
path: destination,
|
|
path: destination,
|
|
onerror: function() {
|
|
onerror: function() {
|
|
- alert('The file does already exist.');
|
|
|
|
- console.log(this)
|
|
|
|
|
|
+ alert('Could not check if file already exists.\nSee console for error message.');
|
|
|
|
+ console.log(arguments);
|
|
},
|
|
},
|
|
onsuccess: function(aBoolean) {
|
|
onsuccess: function(aBoolean) {
|
|
|
|
|
|
@@ -1260,7 +1271,7 @@ SC.loadPackage({ 'FileManagerWindow': {
|
|
SuperGlue.get('server').do('newPage', {
|
|
SuperGlue.get('server').do('newPage', {
|
|
newPath: destination,
|
|
newPath: destination,
|
|
onerror: function() {
|
|
onerror: function() {
|
|
- alert('There was a critical error.\nSee console for more details');
|
|
|
|
|
|
+ alert('There was a critical error while creating a new page.\nSee console for error message.');
|
|
console.log(this);
|
|
console.log(this);
|
|
},
|
|
},
|
|
onprogress: function(evt){
|
|
onprogress: function(evt){
|