Skip to content
Snippets Groups Projects
Commit 23dd00b7 authored by juanf's avatar juanf
Browse files

SSDM-344 : New Free Form Table structure (ongoing work).

SVN: 32326
parent d3cd081d
No related branches found
No related tags found
No related merge requests found
...@@ -25,6 +25,16 @@ function FreeFormTableView(freeFormTableController, freeFormTableModel) { ...@@ -25,6 +25,16 @@ function FreeFormTableView(freeFormTableController, freeFormTableModel) {
$component.append($("<option>").attr('value', '1x1').text('1x1')); $component.append($("<option>").attr('value', '1x1').text('1x1'));
$component.append($("<option>").attr('value', '20x8').text('20x8')); $component.append($("<option>").attr('value', '20x8').text('20x8'));
var changeEvent = function(tableData, $wrappedTable) {
return function(){
var newSize = $(this).val().split('x');
if(newSize.length === 2) {
alert('new size');
}
}
}
$component.change(changeEvent(tableData, $wrappedTable));
return $component; return $component;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment