").addClass(css.item_type).text(data.id));
+
+ return li;
+ }
+ }
+ )
+ );
+
+ $.extend(
+ $.suggest.suggestT,
+ {
+ defaults: $.extend(
+ true,
+ {},
+ $.suggest.suggest.defaults, {
+ css: { pane: "fbs-pane fbs-pane-type" }
}
)
}
diff --git a/src/main/webapp/scripts/views/data-table-cell-ui.js b/src/main/webapp/scripts/views/data-table-cell-ui.js
index 9e7ff9095..a107794c7 100644
--- a/src/main/webapp/scripts/views/data-table-cell-ui.js
+++ b/src/main/webapp/scripts/views/data-table-cell-ui.js
@@ -288,7 +288,7 @@ DataTableCellUI.prototype._previewCandidateTopic = function(id, elmt) {
DataTableCellUI.prototype._startEdit = function(elmt) {
self = this;
- var menu = MenuSystem.createMenu().width("300px");
+ var menu = MenuSystem.createMenu().width("350px");
menu.html(
'
' +
'
' +
@@ -308,7 +308,7 @@ DataTableCellUI.prototype._startEdit = function(elmt) {
var elmts = DOM.bind(menu);
MenuSystem.showMenu(menu, function(){});
- MenuSystem.positionMenuLeftRight(menu, $(elmt));
+ MenuSystem.positionMenuLeftRight(menu, $(this._td));
var commit = function() {
var type = $('input["data-table-cell-edit-type"]:checked')[0].value;
diff --git a/src/main/webapp/styles/custom-suggest.css b/src/main/webapp/styles/custom-suggest.css
new file mode 100644
index 000000000..e8230164e
--- /dev/null
+++ b/src/main/webapp/styles/custom-suggest.css
@@ -0,0 +1,3 @@
+.fbs-pane-property, .fbs-pane-type {
+ width: 400px;
+}
\ No newline at end of file