Console log in js
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 20 Aug 2014 16:03:20 +0000 (12:03 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 20 Aug 2014 16:03:20 +0000 (12:03 -0400)
remove console log calls.

Toolkit/Photos/Controllers/IndexController.php
Toolkit/Photos/templates/Admin/editCategory.html
Toolkit/Photos/templates/Admin/index.html
Toolkit/Photos/templates/Admin/listCategories.html

index 1a6f3e8..7ccc0e0 100644 (file)
@@ -92,8 +92,8 @@ class Toolkit_Photos_Controllers_IndexController
     {
         $GLOBALS['topScripts'][]
             = MEDIA_APP_BASE_URL . 'libjs/jquery/jquery-1.7.2.min.js';
-        $GLOBALS['topScripts'][]
-            = MEDIA_BASE_URL . 'admin/Photos/checkBrowserSupport.js';
+//        $GLOBALS['topScripts'][]
+//            = MEDIA_BASE_URL . 'admin/Photos/checkBrowserSupport.js';
         $GLOBALS['styleSheets'][]
             = MEDIA_APP_BASE_URL . 'libjs/jqueryui/1.8.13/development-bundle/themes/base/jquery.ui.all.css';
         $GLOBALS['styleSheets'][]
index 47219b2..c504e69 100644 (file)
         $("#sortable").sortable({
             update: function() {
                 var inputs = $("#sortable").serialize();
-                $.get('./photos.php', inputs, console.log('positions saved'));
+                $.get('./photos.php', inputs);
             }
         });
         $("#addPageTo").click(function(){
                         if (selectedPageId != '') {
                             // here is where it adds the page
 
-                            console.log('Selected PageId: ' + selectedPageId);
-                            console.log('Selected Pagename: ' + selectedPageName);
+//                            console.log('Selected PageId: ' + selectedPageId);
+//                            console.log('Selected Pagename: ' + selectedPageName);
                             $("#pages2PhotosDiv").append('<div class="pageLink">'
                                     + '<input type="hidden" name="pages[]" value="'
                                     + selectedPageId + '">'
index 4ce6dfe..f8924b2 100644 (file)
@@ -7,9 +7,9 @@
         {styles:h}
         <script>
             function showMyError(e) {
-                console.log('Error: ' + e.message);
-                console.log('Line: ' + e.lineno);
-                console.log('URL: ' + e.filename);
+//                console.log('Error: ' + e.message);
+//                console.log('Line: ' + e.lineno);
+//                console.log('URL: ' + e.filename);
             }
             addEventListener('error', showMyError);
         </script>
index d0e9508..8d5a5da 100644 (file)
@@ -87,7 +87,7 @@
     $("#sortable").sortable({
         update: function() {
             var inputs = $("#sortable").serialize();
-            $.get('./photos.php', inputs, console.log('positions saved'));
+            $.get('./photos.php', inputs);
         }
     });
 </script>