diff --git a/src/main/webapp/scripts/project/history-widget.js b/src/main/webapp/scripts/project/history-widget.js index b67ef4c68..6e0190cab 100644 --- a/src/main/webapp/scripts/project/history-widget.js +++ b/src/main/webapp/scripts/project/history-widget.js @@ -128,13 +128,17 @@ HistoryWidget.prototype._showExtractOperationsDialog = function(json) { "The following JSON code encodes the operations you have done that can be abstracted. " + "You can copy and save it in order to apply the same operations in the future.").appendTo(body); - var table = $('
').appendTo(body)[0]; + var table = $('
') + .addClass("extract-operation-dialog-layout") + .appendTo(body)[0]; + var leftColumn = table.rows[0].insertCell(0); var rightColumn = table.rows[0].insertCell(1); $(leftColumn).width("50%"); $(rightColumn).width("50%").css("padding-left", "20px"); - var entryDiv = $('
').height("400px").css("overflow", "auto").appendTo(leftColumn); + var entryDiv = $('
').addClass("extract-operation-dialog-entries").appendTo(leftColumn); + var entryTable = $('
').appendTo(entryDiv)[0]; var createEntry = function(entry) { var tr = entryTable.insertRow(entryTable.rows.length); @@ -161,10 +165,7 @@ HistoryWidget.prototype._showExtractOperationsDialog = function(json) { var textarea = $('