Show line numbers in profile editor to help locating error message line
This commit is contained in:
parent
dff36a36bd
commit
81f2c0863f
1 changed files with 4 additions and 2 deletions
|
|
@ -3,7 +3,9 @@ BR.Profile = L.Evented.extend({
|
|||
|
||||
initialize: function () {
|
||||
var textArea = L.DomUtil.get('profile_upload');
|
||||
this.editor = CodeMirror.fromTextArea(textArea, {});
|
||||
this.editor = CodeMirror.fromTextArea(textArea, {
|
||||
lineNumbers: true
|
||||
});
|
||||
|
||||
L.DomUtil.get('upload').onclick = L.bind(this._upload, this);
|
||||
L.DomUtil.get('clear').onclick = L.bind(this.clear, this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue