summaryrefslogtreecommitdiff
path: root/comment.js
diff options
context:
space:
mode:
authorSanmugasundaram2015-01-19 14:52:52 +0530
committerRoot2015-01-19 15:50:05 +0530
commit2e3bccd87c7000abc653eb51a04fd7f34c773198 (patch)
treed74ee0edec9f6328c4d911e05b206a53ab048910 /comment.js
parentb34018ca5761c9c359477bb3e176b3bb6f9fa3ee (diff)
downloadscilab_cloud_interface-2e3bccd87c7000abc653eb51a04fd7f34c773198.tar.gz
scilab_cloud_interface-2e3bccd87c7000abc653eb51a04fd7f34c773198.tar.bz2
scilab_cloud_interface-2e3bccd87c7000abc653eb51a04fd7f34c773198.zip
include general type in feedback bug option
Diffstat (limited to 'comment.js')
-rw-r--r--comment.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/comment.js b/comment.js
index a17ecd2..bb2318a 100644
--- a/comment.js
+++ b/comment.js
@@ -30,8 +30,9 @@ $(document).ready(function(){
safe($comment_type);
safe($comment_body);
safe($comment_email);
+ $error_msg.hide();
- if(!$("#example").val()) {
+ if(!$("#example").val() && $comment_type.val() != "7") {
$error_msg.html("Please select a category, book, chapter and an example before reporting a bug.")
$error_msg.show();
errors = 1;