[Bps-public-commit] RT-Extension-FeaturedTickets branch, master, updated. 0180d6512b7b766f83760000b0271ef25b110a97

? sunnavy sunnavy at bestpractical.com
Thu Jul 12 17:29:36 EDT 2018


The branch, master has been updated
       via  0180d6512b7b766f83760000b0271ef25b110a97 (commit)
       via  b06859c474fa413961d4185c89a8da63fd60a968 (commit)
      from  f6a5fd1753ea666f3f80cf1f6766d892a4e19d4a (commit)

Summary of changes:
 html/NoAuth/Featured/index.html | 1 +
 static/js/featured-tickets.js   | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit b06859c474fa413961d4185c89a8da63fd60a968
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Jul 13 05:22:37 2018 +0800

    Comment out console.log calls for production release
    
    Uncomment them locally if you need to debug.

diff --git a/static/js/featured-tickets.js b/static/js/featured-tickets.js
index 532b48c..e81bb3e 100644
--- a/static/js/featured-tickets.js
+++ b/static/js/featured-tickets.js
@@ -13,10 +13,10 @@ function NewSponsor() {
             dataType: "json",
             data: data,
             success: function( data ) {
-                console.log('AJAX call to NewSponsor created new sponsor ticket');
+                // console.log('AJAX call to NewSponsor created new sponsor ticket');
             },
             error: function () {
-                console.log('An error occured with NewSponsor create');
+                // console.log('An error occured with NewSponsor create');
             }
     });
     FeaturedTicketsSubmitSponsor();

commit 0180d6512b7b766f83760000b0271ef25b110a97
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Jul 13 05:26:41 2018 +0800

    Fix js error of "RT is not defined"
    
    Include /Elements/JavascriptConfig, where js variable RT is defined.

diff --git a/html/NoAuth/Featured/index.html b/html/NoAuth/Featured/index.html
index f9b8526..8fe2cff 100644
--- a/html/NoAuth/Featured/index.html
+++ b/html/NoAuth/Featured/index.html
@@ -27,6 +27,7 @@
         <script src="http://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7/html5shiv.js"></script>
     <![endif]-->
 <!-- Add google analytics tags here -->
+<& /Elements/JavascriptConfig &>
 <& /Elements/HeaderJavascript &>
 </head>
 <body class="featured-tickets-body" id="featured-tickets-body">

-----------------------------------------------------------------------


More information about the Bps-public-commit mailing list