diff options
author | Prashant S | 2016-08-31 11:34:51 +0530 |
---|---|---|
committer | GitHub | 2016-08-31 11:34:51 +0530 |
commit | 2a234c5fd1baf8130e296aa8b1d4416726fe0cf2 (patch) | |
tree | 46a2cc4ba6ac8f6f3fece0bb38b6d9e6f4e8a732 | |
parent | b3d2743c8de87be0b7d2d736cef80301f850803e (diff) | |
parent | 89e9fcd12e1e88a31cadc56093707c3ba7430927 (diff) | |
download | scilab_cloud_interface-2a234c5fd1baf8130e296aa8b1d4416726fe0cf2.tar.gz scilab_cloud_interface-2a234c5fd1baf8130e296aa8b1d4416726fe0cf2.tar.bz2 scilab_cloud_interface-2a234c5fd1baf8130e296aa8b1d4416726fe0cf2.zip |
Merge pull request #3 from prashantsinalkar/master
changes done for email notification
-rwxr-xr-x[-rw-r--r--] | comment.js | 6 | ||||
-rwxr-xr-x[-rw-r--r--] | index.php | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/comment.js b/comment.js index fd46a90..4c9e631 100644..100755 --- a/comment.js +++ b/comment.js @@ -14,15 +14,15 @@ $(document).ready(function(){ var $comment_notify = $("#comment-notify"); var $comment_email = $("#comment-email"); var $comment_email_wrapper = $("#comment-email-wrapper"); - $comment_email_wrapper.hide(); + $comment_email_wrapper.show(); // to hide change show to hide - $comment_notify.click(function() { + /* $comment_notify.click(function() { if($(this).attr("checked")) { $comment_email_wrapper.show(); } else { $comment_email_wrapper.hide(); } - }); + });*/ $("#comment-form").submit(function(e) { /* reset all the previous errors */ diff --git a/index.php b/index.php index b4000ea..f46a2ed 100644..100755 --- a/index.php +++ b/index.php @@ -427,17 +427,17 @@ echo '<center><div style="background:red;height:45px;width:80%;padding-top:20px; <option value=3>Execution error</option> <option value=4>Missing example(s)</option> <option value=6>Blank output</option> - <option value=7>Any other / General</option> + <!--<option value=7>Any other / General</option>--> </select> <br><br> <label>Description:</label><br> <textarea id="comment-body" rows="6" cols="50" placeholder="Please tell us more..."></textarea> <br><br> - <input id="comment-notify" type="checkbox"> I want to be notified. <br> <br> + <input id="comment-notify" type="checkbox" checked disabled> I want to be notified. <br> <br> <div id="comment-email-wrapper"> - <label>Email:</label><br> - <input id="comment-email" type="text" name='email'> <br><br> + <label>Email:<span id="mandetory" style="color:red">*</span></label><br> + <input id="comment-email" type="text" name='email' required > <br><br> </div> <input type="submit" value="Submit"> |