Skip to content

Commit

Permalink
Merge pull request #1746 from skurvish/joomla3
Browse files Browse the repository at this point in the history
Fullcalendar fixes:
  • Loading branch information
cheesegrits committed Jun 5, 2016
2 parents 6b75ceb + 26afc22 commit b57ea54
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 33 deletions.
2 changes: 1 addition & 1 deletion components/com_fabrik/helpers/html.php
Expand Up @@ -1045,7 +1045,7 @@ public static function iniRequireJs($shim = array(), $paths = array())
{
if (is_array($newShim) && array_key_exists($k, $newShim))
{
$s->deps = array_merge($s->deps, $newShim[$k]->deps);
$s->deps = array_unique(array_merge($s->deps, $newShim[$k]->deps));
}

$newShim[$k] = $s;
Expand Down
42 changes: 21 additions & 21 deletions plugins/fabrik_visualization/fullcalendar/forms/fields.xml
Expand Up @@ -127,6 +127,26 @@
<option value="1">JYES</option>
</field>

<field name="show-weekends"
type="radio"
default="1"
class="btn-group"
description="PLG_VISUALIZATION_FULLCALENDAR_SHOW_WEEKENDS_DESC"
label="PLG_VISUALIZATION_FULLCALENDAR_SHOW_WEEKENDS_LABEL">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>

<field name="greyscaled-weekend"
type="radio"
default="0"
class="btn-group"
description="PLG_VISUALIZATION_FULLCALENDAR_GREYSCALE_WEEKEND_DESC"
label="PLG_VISUALIZATION_FULLCALENDAR_GREYSCALE_WEEKEND_LABEL" >
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>

<field name="fullcalendar_default_view"
type="list"
default="monthView"
Expand Down Expand Up @@ -217,16 +237,6 @@

<fieldset label="PLG_VISUALIZATION_FULLCALENDAR_MONTH_VIEW_OPTIONS" name="plg-visualization-fullcalendar-monthview">

<field name="greyscaled-week-end"
type="radio"
default="0"
class="btn-group"
description="PLG_VISUALIZATION_FULLCALENDAR_GREYSCALE_WEEKEND_DESC"
label="PLG_VISUALIZATION_FULLCALENDAR_GREYSCALE_WEEKEND_LABEL" >
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>

<field name="readonly_monthview"
type="radio"
class="btn-group"
Expand Down Expand Up @@ -272,17 +282,7 @@
description="PLG_VISUALIZATION_FULLCALENDAR_CLOSE_HOUR_DESC"
label="PLG_VISUALIZATION_FULLCALENDAR_CLOSE_HOUR_LABEL"
size="8" />

<field name="fullcalendar-show-weekends"
type="radio"
default="1"
class="btn-group"
description="PLG_VISUALIZATION_FULLCALENDAR_SHOW_WEEKENDS_DESC"
label="PLG_VISUALIZATION_FULLCALENDAR_SHOW_WEEKENDS_LABEL">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>


</fieldset>

</fields>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b57ea54

Please sign in to comment.