Fix poll auto-focus inputs

This commit is contained in:
Pierre Bondoerffer
2017-06-19 15:30:22 +02:00
parent a38819f5b9
commit 626e54d7b5

View File

@@ -491,7 +491,7 @@ var ready = function (info, userid, readOnly) {
APP.$createRow = $('#create-option').click(function () {
Render.createRow(proxy, function (empty, id) {
change(null, null, null, null, function() {
$('.edit[data-rt-id="' + id + '"]').click();
handleSpan($('.edit[data-rt-id="' + id + '"]')[0]);
});
});
});
@@ -499,7 +499,7 @@ var ready = function (info, userid, readOnly) {
APP.$createCol = $('#create-user').click(function () {
Render.createColumn(proxy, function (empty, id) {
change(null, null, null, null, function() {
$('.lock[data-rt-id="' + id + '"]').click();
handleSpan($('.lock[data-rt-id="' + id + '"]')[0]);
});
});
});