From fce51876c9d2d8803acddaa9c5b4980eb82ec357 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 9 Feb 2015 18:58:43 -0800 Subject: bring some styling back to the colorbox and improve the event preview ability --- view/tpl/event_head.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'view/tpl') diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl index 77e693b07..6b59eef27 100755 --- a/view/tpl/event_head.tpl +++ b/view/tpl/event_head.tpl @@ -7,7 +7,7 @@ $.get( '{{$baseurl}}/events/?id='+eventid, function(data){ - $.colorbox({ html: data }); + $.colorbox({ scrolling: false, html: data, onComplete: function() { $.colorbox.resize(); }}); } ); } @@ -17,6 +17,7 @@ $.post('events',$('#event-edit-form').serialize(), function(data) { $.colorbox({ html: data }); }); + $('#event-edit-preview').val(0); } -- cgit v1.2.3