Skip to content

Commit

Permalink
Fix linkwizard
Browse files Browse the repository at this point in the history
This makes the link-wizard usable again.

It changes the handsontable.full.js, since this seems to be the only way
to get the full functionality of the link-wizard. (As suggested by
@lisps)
However the trade-of is, that we may have to redo this when we update
handsontable.
An alternative approach which does not change handsontable.full.js, but
aborts the cell-edit-session is implemented in
12251b3

WIKI-156, fixes #32
  • Loading branch information
micgro42 authored and splitbrain committed Jun 8, 2017
1 parent 506d8ec commit 6855000
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion script/handsontable.full.js
Expand Up @@ -17379,7 +17379,10 @@ function TableView(instance) {
if (that.settings.outsideClickDeselects) {
instance.deselectCell();
} else {
instance.destroyEditor();
// COSMOCODE
if(!jQuery('#link__wiz').is(':visible')) {
instance.destroyEditor();
}
}
});
this.eventManager.addEventListener(table, 'selectstart', function(event) {
Expand Down

0 comments on commit 6855000

Please sign in to comment.