Skip to content

Commit

Permalink
update version 1.2 -> 1.3. disable editing in paths-table HandsOnTable.
Browse files Browse the repository at this point in the history
paths-table.js : change contextMenu: true -> false, and add readOnly: true, comments: false.
{,frontend/}package.json : update version 1.{2,3}.0
 d5a8a48 27439 Feb 25 17:39 frontend/app/components/panel/paths-table.js
 486c0a7  2611 Feb 25 17:25 frontend/package.json
 ae85461  1920 Feb 25 17:25 package.json
  • Loading branch information
Don-Isdale committed Feb 25, 2020
1 parent e096224 commit 1d6437a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion frontend/app/components/panel/paths-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,11 @@ export default Ember.Component.extend({
/** increase the limit on copy/paste. default is 1000 rows. */
rowsLimit: 10000
},
contextMenu: true,
// disable editing, refn: https://stackoverflow.com/a/40801002
readOnly: true, // make table cells read-only
contextMenu: false, // disable context menu to change things
comments: false, // prevent editing of comments

sortIndicator: true,
multiColumnSorting: true,
/* in the latest non-commercial version 6.2.2, multiColumnSorting is
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pretzel-frontend",
"version": "1.2.0",
"version": "1.3.0",
"description": "Frontend code for Pretzel",
"license": "MIT",
"author": "",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pretzel",
"private": true,
"version": "1.2.0",
"version": "1.3.0",
"dependencies": {
},
"repository" :
Expand Down

0 comments on commit 1d6437a

Please sign in to comment.