SeanChenTaipei 2 years ago
parent 5f3abc70a1
commit 41cedf648e
  1. 2
      static/js/addStock.js

@ -120,6 +120,8 @@ $sendPort.click(function(event) {
}, },
error: function(xhr) { error: function(xhr) {
console.log('Error submitting stock list: ' + xhr.responseText); console.log('Error submitting stock list: ' + xhr.responseText);
alert('建立失敗,請確認資產名稱是否正確!');
location.reload();
} }
}); });
$commentPort.val(''); $commentPort.val('');

Loading…
Cancel
Save