Commit 54ed3ab3 authored by Sven Franck's avatar Sven Franck

General: cleanup

parent 23936633
......@@ -163,7 +163,6 @@ define([
};
if (urlPointer) {
// query for items
App[module].switchboard(spec);
}
}
......
......@@ -61,7 +61,7 @@ define([
// generate results
for (i = 0; i < response.total_rows; i += 1) {
item = response.rows[i].value;
console.log(item);
if (item.price === item.original_price) {
price = item.price + item.currency;
} else {
......
......@@ -71,7 +71,6 @@ define([
if (err) {
} else {
console.log(response);
// set next
// TODO: this is bad, because we can only point to doc_id, no matter what
// identifier we are setting. item_id itself is... bad... fix!
......@@ -81,7 +80,6 @@ define([
markup = params.source.replace("translate next", "translate next ui-state-disabled");
} else {
markup = params.source.replace(identifier + "=next", identifier + "=" + next);
console.log(markup)
}
// set previous
prev = priv.getPrevNextItem(response.rows, currentId, false, response.total_rows);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment