diff --git a/static/js/folders.js b/static/js/folders.js index 0962f45..5891674 100644 --- a/static/js/folders.js +++ b/static/js/folders.js @@ -79,7 +79,6 @@ oml.ui.folders = function() { getUsersAndLists(function(users, lists) { - Ox.print('GOT USERS AND LISTS', users, lists); userIndex = {}; $lists.push( diff --git a/static/js/identifyDialog.js b/static/js/identifyDialog.js index 3c20347..948c521 100644 --- a/static/js/identifyDialog.js +++ b/static/js/identifyDialog.js @@ -353,7 +353,6 @@ oml.ui.identifyDialog = function(data) { select: function(data) { var index = data.ids[0], primaryId = $findList.value(index, 'primaryid'); - Ox.print('EEEE', index, primaryId); disableButtons(); $resultsPanel.replaceElement(1, Ox.LoadingScreen().start()); oml.api.getMetadata(Ox.extend( diff --git a/static/js/infoView.js b/static/js/infoView.js index 5c832d2..0da0c36 100644 --- a/static/js/infoView.js +++ b/static/js/infoView.js @@ -162,10 +162,9 @@ oml.ui.infoView = function(identifyData) { }) .bindEvent({ click: function(data) { - Ox.print('####', data); + // ... }, change: function(data) { - Ox.print('$$$', data); oml.api.edit({ id: ui.item, primaryid: data.value ? data.value.split(':') : '' @@ -307,7 +306,6 @@ oml.ui.infoView = function(identifyData) { iconSize = iconSize == 256 ? 512 : 256, css = getCSS(iconSize, ratio); //$icon.animate(css.icon, 250); - Ox.print('ANIMATE,', css) $info.animate(css.info, 250); $image.animate(css.image, 250); $reflectionImage.animate(css.image, 250); @@ -680,7 +678,6 @@ oml.ui.infoView = function(identifyData) { } else { edit[key] = value; } - Ox.print('EDIT METADATA', key, value, edit); oml.api.edit(edit, function(result) { oml.$ui.browser.value( result.data.id, key, result.data[key] diff --git a/static/js/list.js b/static/js/list.js index 46c5a48..ed20ac1 100644 --- a/static/js/list.js +++ b/static/js/list.js @@ -50,7 +50,6 @@ oml.ui.list = function() { } }, init: function(data) { - Ox.print('MAIN LIST INIT', data); if (ui.find.conditions.length == 0 || ( ui.find.conditions.length == 1 && ui.find.conditions[0].key == 'list' @@ -114,7 +113,6 @@ oml.ui.list = function() { }, oml_find: function() { if (ui.listView == oml.UI.getPrevious().listView) { - Ox.print('NEW FIND, SAME LIST VIEW, RELOADING') that.reloadList(); } }, @@ -132,8 +130,6 @@ oml.ui.list = function() { }, oml_listsort: function(data) { if (ui._list == oml.UI.getPrevious()._list) { - Ox.print('NEW LIST SORT, SAME LIST, SETTING SORT OPTION') - Ox.print('OLD:', that.options('sort'), 'NEW:', data.value); that.options({sort: data.value}); } }, diff --git a/static/js/listInnerPanel.js b/static/js/listInnerPanel.js index e8e6114..f6c910a 100644 --- a/static/js/listInnerPanel.js +++ b/static/js/listInnerPanel.js @@ -28,7 +28,6 @@ oml.ui.listInnerPanel = function() { }) .bindEvent({ oml_listview: function() { - Ox.print('LIST VIEW HAS CHANGED, REPLACING LIST') that.replaceElement(1, oml.$ui.list = oml.ui.list()); }, oml_showfilters: function(data) { diff --git a/static/js/rightPanel.js b/static/js/rightPanel.js index 81dd7db..473ad56 100644 --- a/static/js/rightPanel.js +++ b/static/js/rightPanel.js @@ -21,7 +21,6 @@ oml.ui.rightPanel = function() { }) .bindEvent({ resize: function(data) { - Ox.print('::RESIZING', data.size); that.options({size: data.size}); oml.$ui.filtersOuterPanel.updateElement(); oml.$ui.itemViewPanel.options({size: data.size}); diff --git a/static/js/usersDialog.js b/static/js/usersDialog.js index 40665ba..ffe12ad 100644 --- a/static/js/usersDialog.js +++ b/static/js/usersDialog.js @@ -269,7 +269,6 @@ oml.ui.usersDialog = function() { id: user.id, nickname: data.value }, function(result) { - Ox.print('EDIT USER', result.data, folder); oml.renameUser(result.data) // FIXME: ugly Ox.forEach($lists, function($list) { @@ -488,11 +487,9 @@ oml.ui.usersDialog = function() { }) .bindEvent({ move: function(data) { - Ox.print('MOVE', data) oml.api.sortUsers({ ids: data.ids }, function(result) { - Ox.print('USER ORDER CHANGED', result.data); oml.$ui.folders.updateElement(); }); }, diff --git a/static/js/utils.js b/static/js/utils.js index d7da750..f762452 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -916,7 +916,6 @@ oml.renameUser = function(data) { }).forEach(function(list) { updateConditions(list.query); }); - Ox.print('$$$ SET', set); oml.UI.set(set, false); updateConditions(newFind); @@ -953,16 +952,6 @@ oml.resizeFilters = function() { oml.resizeListFolders = function() { // FIXME: does this have to be here? - /* - Ox.print( - 'RESIZE LIST FOLDERS', - 'SIDEBAR', oml.user.ui.sidebarSize, - 'WIDTH', oml.getListFoldersWidth(), - 'HEIGHT', oml.getListFoldersHeight(), - 'INFO HEIGHT', oml.getInfoHeight(), - 'AVAILABLE HEIGHT', window.innerHeight - 20 - 24 - 1 - oml.user.ui.showInfo * oml.getInfoHeight() - ) - */ var width = oml.getListFoldersWidth(), columnWidth = width - 58; oml.$ui.librariesList