Commit f936ef30 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Merge branch 'master' into 'production'

Release 0.9.6.3

* Add the script `cold_start_096x.sql`.
* Update `plugin_extjs` to `6.2.0` and `plugin_dbui` to `0.9.5`.
* Run out of the box with `plugin_mathjax 2.7.0`.


See merge request !80
parents 9ec5bc72 3c0f699c
......@@ -2,10 +2,10 @@
HEAD
0.9.6.2 (Oct 2016)
0.9.6.3 (Nov 2016)
- Add the script cold_start_096x.sql.
- Minor fix to run with plugin_dbui 0.9.4. It is backward compatible.
- Run out of the box with plugin_extjs 6.2.0 and mathjax 2.7.0.
- Update plugin_extjs to 6.2.0 and plugin_dbui to 0.9.5.
- Run out of the box with plugin_mathjax 2.7.0.
0.9.6.1 (Sep 2016)
- Require plugin_dbui 0.9.2 or higher.
......
0.9.6.2
\ No newline at end of file
0.9.6.3
\ No newline at end of file
......@@ -36,6 +36,9 @@ Ext.onReady(function(){
Ext.QuickTips.init();
// Suppress ARIA compatibility warning
Ext.ariaWarn = Ext.emptyFn;
// Expose the remote methods
Ext.direct.Manager.addProvider(Dbui.REMOTE_API);
......
......@@ -381,18 +381,28 @@
});
gridLog.on('itemcontextmenu', function(view, record, item, index, event) {
var grid = this;
event.stopEvent();
// the editAndInsert action is only available when the record is
// not already in the database
if (record.get('action') === 'idle') {
// disable the contextmenu
menu.items.get('editAndInsert').setDisabled(true);
} else {
// enable the context menu and select the row
menu.items.get('editAndInsert').setDisabled(false);
grid.getSelectionModel().select(record);
}
// show the menu
menu.showAt(event.getXY());
});
}, gridLog);
</script>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment