Fix: query save fails if query has queryResult property.

This commit is contained in:
Arik Fraimovich 2014-05-05 19:45:07 +03:00
parent 52f44588e6
commit 38293fc155

View File

@ -33,6 +33,7 @@
}, options);
delete $scope.query.latest_query_data;
delete $scope.query.queryResult;
return Query.save(data, function() {
growl.addSuccessMessage(options.successMessage);