Update Handsontable to 6.2.2 [SCI-3526]

This commit is contained in:
Oleksii Kriuchykhin 2019-06-03 16:55:09 +02:00
parent cedb10f83e
commit 01a5a17bb4
6 changed files with 81 additions and 115 deletions

View file

@ -8,4 +8,4 @@
<%= javascript_include_tag "ruleJS" %>
<%= javascript_include_tag "handsontable.formula" %>
<%= javascript_include_tag "big.min" %>
<%= stylesheet_link_tag "handsontable.formula" %>
<%= stylesheet_link_tag "handsontable.formula" %>

View file

@ -17,6 +17,7 @@ Rails.application.config.assets.precompile += %w(underscore.js)
Rails.application.config.assets.precompile += %w(jsPlumb-2.0.4-min.js)
Rails.application.config.assets.precompile += %w(jsnetworkx.js)
Rails.application.config.assets.precompile += %w(handsontable.full.min.js)
Rails.application.config.assets.precompile += %w(handsontable.full.min.css)
Rails.application.config.assets.precompile +=
%w(sugar.min.js jquerymy-1.2.14.min.js)
Rails.application.config.assets.precompile += %w(users/settings/list_toggle.js.erb)

View file

@ -285,10 +285,7 @@
};
};
var afterCreateRow = function(row, amount, auto) {
if (auto) {
return;
}
var afterCreateRow = function(row, amount) {
var instance = this;
@ -445,10 +442,13 @@
instance.plugin.init();
instance.plugin.custom = custom;
Handsontable.cellTypes['formula'] = formulaCell;
Handsontable.cellTypes.registerCellType('formula', {
editor: Handsontable.editors.TextEditor,
renderer: formulaRenderer
});
Handsontable.TextCell.renderer = formulaRenderer;
Handsontable.NumericCell.renderer = formulaRenderer;
Handsontable.cellTypes.text.renderer = formulaRenderer;
Handsontable.cellTypes.numeric.renderer = formulaRenderer;
// [MODIFICATION] (sci 2588)
// This hook is new

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long