temboz - Check-in [442]
Not logged in
[Honeypot]  [Browse]  [Help]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline]  [Wiki
  [Patchset]  [Tagging/Branching
Check-in Number: 442
Date: 2009-Oct-13 01:32:51 (local)
2009-Oct-13 08:32:51 (UTC)
User:majid
Branch:
Comment: regenerated temboz.js
Tickets:
Inspections:
Files:
temboz/Makefile      1.44 -> 1.45     3 inserted, 1 deleted
temboz/rsrc/temboz.js      1.5 -> 1.6     2 inserted, 2 deleted

temboz/Makefile 1.44 -> 1.45
--- /tmp/T0zNaiE5	Mon Sep  6 18:24:40 2010
+++ /tmp/T1ANaiE5	Mon Sep  6 18:24:40 2010
@@ -3,6 +3,8 @@
 PAGES= 		view error opml feeds temboz_css rules catch_up
 DATE:sh=	date +'%Y-%m-%d'
 
+JSMIN=		jsmin
+
 all: changelog
 
 cheetah: $(PAGES:%=pages/%.py)
@@ -26,7 +28,7 @@
 	vcheck --verbose -d --file etc/vcheck
 	(cd spool; wget -N http://jquery.malsup.com/form/jquery.form.js)
 js:
-	cat $(JUI)/../jquery-[0-9]*.js spool/jquery.form.js $(JUI)/ui.core.js  $(JUI)/ui.dialog.js $(JUI)/ui.tabs.js spool/jquery.hotkeys.meta.js rsrc/specific.js | jsmin > rsrc/temboz.js
+	cat $(JUI)/../jquery-[0-9]*.js spool/jquery.form.js $(JUI)/ui.core.js  $(JUI)/ui.dialog.js $(JUI)/ui.tabs.js spool/jquery.hotkeys.meta.js rsrc/specific.js | $(JSMIN) > rsrc/temboz.js
 	./temboz --kill
 changelog:
 	cvs2cl.pl --tags -g -q

temboz/rsrc/temboz.js 1.5 -> 1.6
--- /tmp/T04NaWE5	Mon Sep  6 18:24:40 2010
+++ /tmp/T15NaWE5	Mon Sep  6 18:24:40 2010
@@ -604,7 +604,7 @@
 return result;}}}};window.hotkeys=hotkeys;return jQuery;})(jQuery);function get_selection(){var userSelection;userSelection="";if(window.getSelection){userSelection=String(window.getSelection());}else if(document.selection){userSelection=document.selection.createRange().text;}
 return $.trim(userSelection);}
 function capitalize(s){return s.charAt(0).toUpperCase()+s.substring(1);}
-function place_popup(){var popup=$("div#popup_"+this.id);var callout_pos=$(this).position();popup.css("left",callout_pos.left);popup.css("top",callout_pos.top+$(this).height()+3);this.popup=popup;}
+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();this.popup.toggle();$(document).click(hide_popups);}
+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);});}