[#176,bugfix,view/transform][xs]: remove unneeded setSelectionRange that failed in FF - fixes #176 (thx to @gka for report).
This commit is contained in:
@@ -50,7 +50,6 @@ my.Transform = Backbone.View.extend({
|
|||||||
var col = 'unknown';
|
var col = 'unknown';
|
||||||
}
|
}
|
||||||
editor.val("function(doc) {\n doc['"+ col +"'] = doc['"+ col +"'];\n return doc;\n}");
|
editor.val("function(doc) {\n doc['"+ col +"'] = doc['"+ col +"'];\n return doc;\n}");
|
||||||
editor.focus().get(0).setSelectionRange(18, 18);
|
|
||||||
editor.keydown();
|
editor.keydown();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user