r0bn / swp2

Softwareprojekt HFT Stuttgart
1 stars 1 forks source link

Wrong dialog is shown on save function #105

Closed 9SphynX9 closed 9 years ago

9SphynX9 commented 9 years ago

When the story 283 is saved as final, two dialogs are shown: -> The Successfully saved dialog -> The error in xml dialog

The wrong lines: Current line in main.js: 165 $("#btnSaveStory").click(function() { $scope.saveXML(); if ($scope.xmlError !== "XML valide!") {

$scope.xmlError is undefined and not "XML valide!"

9SphynX9 commented 9 years ago

Please dont use alert boxes (commit a24237f on line 232)