$("#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 + '">'
<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>
$("#sortable").sortable({
update: function() {
var inputs = $("#sortable").serialize();
- $.get('./photos.php', inputs, console.log('positions saved'));
+ $.get('./photos.php', inputs);
}
});
</script>
}
}
var pageId = $("input[name='id']").val();
- console.log(pageId);
if (pageId == '') {
$.get("Staff-Page/", function(data){
$("#staffPick").html(data);
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"