Restore code mistakenly removed in
109138366b
Put it where Eclipse doesn't get confused about it being unreferenced
This commit is contained in:
parent
218ea46a4d
commit
70d4229a2f
@ -52,6 +52,15 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
|
|||||||
var level = DialogSystem.showDialog(frame);
|
var level = DialogSystem.showDialog(frame);
|
||||||
var dismiss = function() { DialogSystem.dismissUntil(level - 1); };
|
var dismiss = function() { DialogSystem.dismissUntil(level - 1); };
|
||||||
|
|
||||||
|
var o = DataTableView.sampleVisibleRows(column);
|
||||||
|
var previewWidget = new ExpressionPreviewDialog.Widget(
|
||||||
|
elmts,
|
||||||
|
column.cellIndex,
|
||||||
|
o.rowIndices,
|
||||||
|
o.values,
|
||||||
|
null
|
||||||
|
);
|
||||||
|
|
||||||
elmts.cancelButton.click(dismiss);
|
elmts.cancelButton.click(dismiss);
|
||||||
elmts.okButton.click(function() {
|
elmts.okButton.click(function() {
|
||||||
var columnName = $.trim(elmts.columnNameInput[0].value);
|
var columnName = $.trim(elmts.columnNameInput[0].value);
|
||||||
@ -101,6 +110,15 @@ DataTableColumnHeaderUI.extendMenu(function(column, columnHeaderUI, menu) {
|
|||||||
var level = DialogSystem.showDialog(frame);
|
var level = DialogSystem.showDialog(frame);
|
||||||
var dismiss = function() { DialogSystem.dismissUntil(level - 1); };
|
var dismiss = function() { DialogSystem.dismissUntil(level - 1); };
|
||||||
|
|
||||||
|
var o = DataTableView.sampleVisibleRows(column);
|
||||||
|
var previewWidget = new ExpressionPreviewDialog.Widget(
|
||||||
|
elmts,
|
||||||
|
column.cellIndex,
|
||||||
|
o.rowIndices,
|
||||||
|
o.values,
|
||||||
|
null
|
||||||
|
);
|
||||||
|
|
||||||
elmts.cancelButton.click(dismiss);
|
elmts.cancelButton.click(dismiss);
|
||||||
elmts.okButton.click(function() {
|
elmts.okButton.click(function() {
|
||||||
var columnName = $.trim(elmts.columnNameInput[0].value);
|
var columnName = $.trim(elmts.columnNameInput[0].value);
|
||||||
|
Loading…
Reference in New Issue
Block a user