remove console log calls.
{
$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'][]
$("#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 + '">'
{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>
$("#sortable").sortable({
update: function() {
var inputs = $("#sortable").serialize();
- $.get('./photos.php', inputs, console.log('positions saved'));
+ $.get('./photos.php', inputs);
}
});
</script>