temboz - Check-in [468]
Not logged in
[Honeypot]  [Browse]  [Help]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline]  [Wiki
  [Patchset]  [Tagging/Branching
Check-in Number: 468
Date: 2010-Apr-03 13:33:26 (local)
2010-Apr-03 20:33:26 (UTC)
User:majid
Branch:
Comment: Reduces minimum width for a two-column layout so the iPad in portrait mode has two columns
Tickets:
Inspections:
Files:
temboz/pages/view.tmpl      1.85 -> 1.86     2 inserted, 2 deleted
temboz/rsrc/specific.js      1.3 -> 1.4     3 inserted, 0 deleted
temboz/rsrc/temboz.js      1.6 -> 1.7     2 inserted, 1 deleted

temboz/pages/view.tmpl 1.85 -> 1.86
--- /tmp/T0SBaG0Y	Mon Sep  6 17:58:39 2010
+++ /tmp/T1TBaG0Y	Mon Sep  6 17:58:39 2010
@@ -17,7 +17,7 @@
 #import time, param, filters, update
 #silent filters.load_rules(db, c)
 ## width below which a single-column layout is shown
-#set $TWOCOL_WIDTH = 800
+#set $TWOCOL_WIDTH = 760
 ########################################################################
 ##
 ## What items to use
@@ -104,7 +104,7 @@
 #set global $img_prefix = ''
 var i = new Image();
 function webop(op, uid) {
-  $.get('/xmlfeedback/' + op + '/' + Math.random().toString().substring(8) + '/' + uid + '.xml');
+  $.get('/xmlfeedback/' + op + '/' + rand() + '/' + uid + '.xml');
 }
 #end block
 function refresh_counter() {

temboz/rsrc/specific.js 1.3 -> 1.4
--- /tmp/T0QCai1Y	Mon Sep  6 17:58:39 2010
+++ /tmp/T1RCai1Y	Mon Sep  6 17:58:39 2010
@@ -38,3 +38,6 @@
     $("a.callout").click(show_popup);
   });
 }
+function rand() {
+  return Math.random().toString().substring(8);
+}

temboz/rsrc/temboz.js 1.6 -> 1.7
--- /tmp/T0wDaW1Y	Mon Sep  6 17:58:39 2010
+++ /tmp/T1xDaW1Y	Mon Sep  6 17:58:39 2010
@@ -607,4 +607,5 @@
 function place_popup(){var popup=$("div#popup_"+this.id);this.popup=popup;}
 function hide_popups(){$(document).unbind("click",hide_popups);$("div.popup").hide();}
 function show_popup(event){event.stopPropagation();var callout=$(this).offset();var container=$(this).offsetParent().offset();this.popup.css("left",callout.left-container.left);this.popup.css("top",callout.top-container.top+$(this).height()+3);this.popup.toggle();$(document).click(hide_popups);}
-function init_popups(){$(document).ready(function(){$("a.callout").each(place_popup);$("a.callout").click(show_popup);});}
+function init_popups(){$(document).ready(function(){$("a.callout").each(place_popup);$("a.callout").click(show_popup);});}
+function rand(){return Math.random().toString().substring(8);}