Merge branch 'soon' into staging
This commit is contained in:
@@ -253,7 +253,7 @@ define([
|
||||
return void cb({error: 'User drive removal blocked!'});
|
||||
}
|
||||
|
||||
store.rpc.removeOwnedChannel(data, function (err) {
|
||||
store.rpc.removeOwnedChannel(channel, function (err) {
|
||||
cb({error:err});
|
||||
});
|
||||
};
|
||||
|
||||
@@ -464,7 +464,10 @@ define([
|
||||
|
||||
// convert a folder to a Shared Folder
|
||||
var _convertFolderToSharedFolder = function (Env, data, cb) {
|
||||
var path = data.path;
|
||||
return void cb({
|
||||
error: 'DISABLED'
|
||||
}); // XXX CONVERT
|
||||
/*var path = data.path;
|
||||
var folderElement = Env.user.userObject.find(path);
|
||||
// don't try to convert top-level elements (trash, root, etc) to shared-folders
|
||||
// TODO also validate that you're in root (not templates, etc)
|
||||
@@ -554,7 +557,7 @@ define([
|
||||
Env.user.userObject.delete([path], function () {
|
||||
cb();
|
||||
});
|
||||
});
|
||||
});*/
|
||||
};
|
||||
|
||||
// Delete permanently some pads or folders
|
||||
|
||||
@@ -399,17 +399,6 @@ define([
|
||||
"Shift-Tab": function () {
|
||||
editor.execCommand("indentLess");
|
||||
},
|
||||
"Backspace": function () {
|
||||
var cursor = doc.getCursor();
|
||||
var line = doc.getLine(cursor.line);
|
||||
var beforeCursor = line.substring(0, cursor.ch);
|
||||
if (beforeCursor && beforeCursor.trim() === "") {
|
||||
editor.execCommand("indentLess");
|
||||
} else {
|
||||
editor.execCommand("delCharBefore");
|
||||
}
|
||||
|
||||
},
|
||||
});
|
||||
$('.CodeMirror').css('font-size', fontSize+'px');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user