leave all columns locked unless you've visited before
This commit is contained in:
+2
-5
@@ -199,6 +199,7 @@ define([
|
|||||||
.attr('disabled', !bool);
|
.attr('disabled', !bool);
|
||||||
|
|
||||||
if (bool) {
|
if (bool) {
|
||||||
|
module.activeColumn = id;
|
||||||
module.rt.proxy.table.colsOrder.forEach(function (coluid) {
|
module.rt.proxy.table.colsOrder.forEach(function (coluid) {
|
||||||
if (coluid !== id) { makeUserEditable(coluid, false); }
|
if (coluid !== id) { makeUserEditable(coluid, false); }
|
||||||
});
|
});
|
||||||
@@ -715,8 +716,7 @@ define([
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
module.activeColumn = column;
|
module.activeColumn = '';
|
||||||
|
|
||||||
var promptForName = function () {
|
var promptForName = function () {
|
||||||
// HERE
|
// HERE
|
||||||
Cryptpad.prompt("What is your name?", "", function (name, ev) {
|
Cryptpad.prompt("What is your name?", "", function (name, ev) {
|
||||||
@@ -751,9 +751,6 @@ define([
|
|||||||
promptForName();
|
promptForName();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// if column is defined, then you can just make that column editable
|
|
||||||
makeUserEditable(column, true);
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user