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

Polish the EditAndLoad wizard.

parent d605d9ab
......@@ -176,8 +176,8 @@ def edit_insert():
if selector.controller == 'theses':
values['PublicationsUniversities'] = record.these_universities()
values['PublicationsDirectors'] = record.directors()
values['PublicationsDefense'] = record.defense()
values['PublicationsDirectors'] = record.these_directors()
values['PublicationsDefense'] = record.these_defense()
# submitted date and year
try:
......
......@@ -8,7 +8,8 @@ HEAD
Should improve code stability and maintenance.
- Review class naming of the invenio and harvester tools modules.
- Improve the UI related to the harvester/controller and publication.
- New wizard edit and insert.
- New wizard EditAndInsert.
- The wizard EditAndInsert can be launched from the harvester report.
0.8.7.2 (Sep 2014)
- Migrate to plugin_dbui 0.6.1.7.
......
......@@ -348,9 +348,11 @@
// FIX EXT JS 4.2.1
// In that version the selection of the row is wrong when the grouping
// feature is activated. It has been corrected in 4.2.2.
// The next line fixes this bug.
// The next lines fix this bug.
// (from www.sencha.com/forum/showthread.php?264961-Grid-Grouping-Bug)
view.getSelectionModel().select(view.dataSource.data.get(item.getAttribute('data-recordid')));
index = item.getAttribute('data-recordid');
view.getSelectionModel().select(view.dataSource.data.get(index));
record = view.getSelectionModel().getSelection()[0];
// the editAndInsert action is only available when the record is rejected
if (record.get('action') === 'reject') {
......
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