diff options
author | friendica <info@friendica.com> | 2015-02-09 18:58:43 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-02-09 18:58:43 -0800 |
commit | fce51876c9d2d8803acddaa9c5b4980eb82ec357 (patch) | |
tree | e94b52b76ab6c4c75abd3e2e39b30d0f70d01c78 /view/tpl/event_head.tpl | |
parent | ad731b7c7bc1fa0a0af10127154e1aa8dc94ef24 (diff) | |
download | volse-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/event_head.tpl')
-rwxr-xr-x | view/tpl/event_head.tpl | 3 |
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); } |