Skip to content

Commit

Permalink
Hide event url displan when opening a event without url set + keep 'h…
Browse files Browse the repository at this point in the history
…ttp://' on url field
  • Loading branch information
ctimoteo-fixeads committed Jun 20, 2014
1 parent 787c404 commit 2494786
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion kronolith/js/kronolith.js
Expand Up @@ -5817,7 +5817,15 @@ KronolithCore = {
$('kronolithEventUrlDisplay').show();
$('kronolithEventUrl').hide();
}
$('kronolithEventUrl').setValue(ev.u);
else {
$('kronolithEventUrlDisplay').hide();
$('kronolithEventUrl').show();
}

if (ev.u) {
$('kronolithEventUrl').setValue(ev.u);
}

$('kronolithEventAllday').setValue(ev.al);

if (ev.r && ev.rsd && ev.red) {
Expand Down

0 comments on commit 2494786

Please sign in to comment.