Allow to save only the partial model changes, undo-redo operation

within the edit/create dialog/panel using the backbone.undo.js.
This commit is contained in:
Ashesh Vashi
2015-10-28 22:51:27 +05:30
parent c1503ade47
commit c1db54b2c2
5 changed files with 1208 additions and 5 deletions

View File

@@ -77,6 +77,7 @@
"bootstrap.datepicker": "{{ url_for('static', filename='js/' + ('bootstrap-datepicker' if config.DEBUG else 'bootstrap-datepicker.min')) }}",
backform: "{{ url_for('static', filename='js/backform') }}",
backgrid: "{{ url_for('static', filename='js/backgrid/' + ('backgrid' if config.DEBUG else 'backgrid.min')) }}",
"backbone.undo": "{{ url_for('static', filename='js/' + ('backbone.undo' if config.DEBUG else 'backbone.undo.min')) }}",
"pgadmin.backgrid": "{{ url_for('static', filename='js/backgrid/backgrid.pgadmin') }}",
'pgadmin.backform': "{{ url_for('static', filename='js/backform.pgadmin') }}"{% for script in current_app.javascripts %},
'{{ script.name }}': "{{ script.path }}"{% endfor %}