diff --git a/README.md b/README.md index ea7af81a56..0307641300 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ Project Structure | **models**/Challenge.js | Mongoose schema and model for Challenge. | | **public**/ | Static assets (fonts, css, js, img). | | **public**/**js**/application.js | Specify client-side JavaScript dependencies. | -| **public**/**js**/main_0.0.1.js | Place your client-side JavaScript here. | +| **public**/**js**/main_0.0.2.js | Place your client-side JavaScript here. | | **public**/**css**/main.less | Main stylesheet for the app. | | **views/account**/ | Templates for *login, password reset, signup, profile*. | | **views/partials**/flash.jade | Error, info and success flash notifications. | diff --git a/public/js/main_0.0.1.js b/public/js/main_0.0.2.js similarity index 99% rename from public/js/main_0.0.1.js rename to public/js/main_0.0.2.js index ed6c881f99..b0c33c9293 100644 --- a/public/js/main_0.0.1.js +++ b/public/js/main_0.0.2.js @@ -17,6 +17,7 @@ $(document).ready(function() { setCSRFToken($('meta[name="csrf-token"]').attr('content')); $('#i-want-help').on('click', function() { + /* var editorValue = editor.getValue(); var currentLocation = window.location.href; $.post( @@ -33,9 +34,11 @@ $(document).ready(function() { } } ); + */ }); $('#i-want-help-editorless').on('click', function() { + /* var currentLocation = window.location.href; $.post( '/get-help', @@ -50,6 +53,7 @@ $(document).ready(function() { } } ); + */ }); $('#report-issue').on('click', function() { diff --git a/views/coursewares/showVideo.jade b/views/coursewares/showVideo.jade index dd6576b74f..9cd162988d 100644 --- a/views/coursewares/showVideo.jade +++ b/views/coursewares/showVideo.jade @@ -23,9 +23,9 @@ block content .button-spacer if (user.sentSlackInvite) .btn-group.input-group.btn-group-justified - .btn.btn-success.btn-big#i-want-help-editorless + .btn.btn-success.btn-big#i-want-help-editorless(disabled) i.fa.fa-medkit - |   Get help + |   Get help(disabled) .btn.btn-success.btn-big#report-issue i.fa.fa-bug |   Report a bug diff --git a/views/coursewares/showZiplineOrBasejump.jade b/views/coursewares/showZiplineOrBasejump.jade index f1b91cdd10..dbf5c103a1 100644 --- a/views/coursewares/showZiplineOrBasejump.jade +++ b/views/coursewares/showZiplineOrBasejump.jade @@ -21,9 +21,9 @@ block content if (user.sentSlackInvite) .button-spacer .btn-group.input-group.btn-group-justified - .btn.btn-success.btn-big#i-want-help-editorless + .btn.btn-success.btn-big#i-want-help-editorless(disabled) i.fa.fa-medkit - |   Help + |   Help(disabled) .btn.btn-success.btn-big#i-want-to-pair i.fa.fa-user-plus |   Pair diff --git a/views/partials/universal-head.jade b/views/partials/universal-head.jade index 16df67a25b..205a27e0ce 100644 --- a/views/partials/universal-head.jade +++ b/views/partials/universal-head.jade @@ -32,7 +32,7 @@ script. window.moment || document.write('