Removed debug code, Vagrant server to devdb
authorLaury GvR <laury@gaslightmedia.com>
Tue, 5 Aug 2014 17:50:32 +0000 (13:50 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 5 Aug 2014 17:50:32 +0000 (13:50 -0400)
Toolkit/Photos/templates/Admin/editCategory.html
Toolkit/Photos/templates/Admin/index.html
Toolkit/Photos/templates/Admin/listCategories.html
Toolkit/UserArea/libjs/edit-page.js
config/server.ini

index 47219b2..ceb174a 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(){
                     "Select Page": function() {
                         if (selectedPageId != '') {
                             // here is where it adds the page
-
-                            console.log('Selected PageId: ' + selectedPageId);
-                            console.log('Selected Pagename: ' + selectedPageName);
                             $("#pages2PhotosDiv").append('<div class="pageLink">'
                                     + '<input type="hidden" name="pages[]" value="'
                                     + selectedPageId + '">'
index 4ce6dfe..2fa3e70 100644 (file)
@@ -5,14 +5,6 @@
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
         <link rel="stylesheet" href="main.css">
         {styles:h}
-        <script>
-            function showMyError(e) {
-                console.log('Error: ' + e.message);
-                console.log('Line: ' + e.lineno);
-                console.log('URL: ' + e.filename);
-            }
-            addEventListener('error', showMyError);
-        </script>
         {topScripts:h}
     </head>
     <body>
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>
index a63bc1f..a7e8a05 100644 (file)
@@ -106,7 +106,6 @@ var EditPage =
             }
         }
         var pageId = $("input[name='id']").val();
-        console.log(pageId);
         if (pageId == '') {
             $.get("Staff-Page/", function(data){
                 $("#staffPick").html(data);
index a450d1e..a6fed1f 100755 (executable)
@@ -288,7 +288,7 @@ google.maps.key   = "ABQIAAAAFEik3hTZkksVQYtPm0OFmRT2yXp_ZAY8_ufC3CFXhHIE1NvwkxQ
 app.base_url = "http://localhost:8080/app.gaslightmedia.com/"
 app.base_secure_url = "https://localhost:8080/app.gaslightmedia.com/"
 
-database.params.host = "ds3"
+database.params.host = "devdb"
 
 email.owner                                 = "vagrant+owner@localhost"
 email.contact                               = "vagrant+contact@localhost"