Skip to content

Commit

Permalink
Trigger start editing when adding GSS codes
Browse files Browse the repository at this point in the history
  • Loading branch information
slowe committed Aug 14, 2024
1 parent 86f384e commit 4c4e57d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/resources/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@
}
}

this.startEdit();

// Update values
for(r = 0; r < geo.length; r++) this.csvedit.data[r][cdcol] = geo[r].code||"";
Expand All @@ -287,7 +288,8 @@
this.csvedit.order.splice(idx,0,cdcol);

this.csvedit.updateData(this.csvedit.data,this.csvedit.order);



// Close the modal
this._geomodal.close();

Expand Down

0 comments on commit 4c4e57d

Please sign in to comment.