Skip to content

Commit

Permalink
fix(client): correct import error dialog invocation
Browse files Browse the repository at this point in the history
Closes #821
  • Loading branch information
nikku authored and philippfromme committed Jun 6, 2018
1 parent 0040a54 commit 62213d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/lib/external/base-dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ function Dialog(events) {
* @param {Function} done
*/
this.importError = function(filename, errorDetails, done) {
this._open('dialog:import-error', [ filename, errorDetails ], done);
this._open('dialog:import-error', filename, errorDetails, done);
};

/**
Expand All @@ -202,7 +202,7 @@ function Dialog(events) {
* @param {Function} done
*/
this.contentChanged = function(done) {
this._open('dialog:content-changed', function functionName(err, answer) {
this._open('dialog:content-changed', function(err, answer) {
done(answer);
});
};
Expand Down

0 comments on commit 62213d1

Please sign in to comment.