Fix: Don't duplicate for submission in cura profile importer
This commit is contained in:
parent
3299dbdc28
commit
71fedd3be4
1 changed files with 1 additions and 1 deletions
|
|
@ -71,6 +71,7 @@ $(function() {
|
|||
self.placeholderDisplayName(name);
|
||||
self.placeholderDescription("Imported from " + self.fileName() + " on " + formatDate(new Date().getTime() / 1000));
|
||||
|
||||
self.uploadButton.unbind("click");
|
||||
self.uploadButton.on("click", function() {
|
||||
var form = {
|
||||
allowOverwrite: self.profileAllowOverwrite()
|
||||
|
|
@ -183,7 +184,6 @@ $(function() {
|
|||
self.settings = self.settingsViewModel.settings;
|
||||
self.requestData();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
// view model class, parameters for constructor, container to bind to
|
||||
|
|
|
|||
Loading…
Reference in a new issue