-
Notifications
You must be signed in to change notification settings - Fork 695
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MVC - some minor modifications in importCsv() to deduplicate messages…
… and return fieldnames for easier tracking. Next we offer the import a ui companion as jQuery action named SimpleFileUploadDlg(). To use the upload, create a button offering a dialog title and endpoint like: <button id="upload" type="button" data-title="{{ lang._('Import') }}" data-endpoint='/api/path/to/import_controller' class="btn btn-xs" ><span class="fa fa-fw fa-table"></span></button> and hook functionality using: $("#upload").SimpleFileUploadDlg();
- Loading branch information
1 parent
6b14506
commit d665028
Showing
2 changed files
with
100 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters