aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-09 18:58:43 -0800
committerfriendica <info@friendica.com>2015-02-09 18:58:43 -0800
commitfce51876c9d2d8803acddaa9c5b4980eb82ec357 (patch)
treee94b52b76ab6c4c75abd3e2e39b30d0f70d01c78 /view/tpl
parentad731b7c7bc1fa0a0af10127154e1aa8dc94ef24 (diff)
downloadvolse-hubzilla-fce51876c9d2d8803acddaa9c5b4980eb82ec357.tar.gz
volse-hubzilla-fce51876c9d2d8803acddaa9c5b4980eb82ec357.tar.bz2
volse-hubzilla-fce51876c9d2d8803acddaa9c5b4980eb82ec357.zip
bring some styling back to the colorbox and improve the event preview ability
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/event_head.tpl3
1 files changed, 2 insertions, 1 deletions
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);
}