Skip to content

Commit

Permalink
🔤 BASE #274
Browse files Browse the repository at this point in the history
  • Loading branch information
bjverde committed Sep 22, 2022
1 parent b4da652 commit 91cca56
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions base/classes/webform/TForm.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -7614,12 +7614,10 @@ public function addCalendarField( $strName
, $jsOnDrop=null
, $jsOnEventClick=null, $jsOnSelectDay=null, $jsMouseOver=null, $jsEventRender=null )
{
if( !DEFINED('INDEX_FILE_NAME') )
{
if( !DEFINED('INDEX_FILE_NAME') ){
DEFINE('INDEX_FILE_NAME','index.php');
}
if( ! is_null($strUrl) )
{
if( ! is_null($strUrl) ){
$strUrl = INDEX_FILE_NAME.'?ajax=1&modulo='.$strUrl;
}
$field = new TCalendar($strName, $strUrl, $strHeight, $strWidth, $defaultView, $jsOnResize, $jsOnDrag, $jsOnDrop, $jsOnEventClick, $jsOnSelectDay, $jsMouseOver, $jsEventRender);
Expand Down

0 comments on commit 91cca56

Please sign in to comment.