Skip to content

Commit

Permalink
Bug techjoomla#344 fix: Front end>> Other option and added field get …
Browse files Browse the repository at this point in the history
…removed once user refresh the page.
  • Loading branch information
Aishwarya committed Jan 28, 2020
1 parent 555f2d0 commit 5106beb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/components/com_tjucm/media/css/tjucm.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,8 @@ width:200px !important;
#item-form .minicolors-theme-bootstrap .hex {
width: 100px !important;
height: auto;
}
}

.tjucm-wrapper .tj-wordwrap{
word-break: break-word;
}
4 changes: 3 additions & 1 deletion src/components/com_tjucm/site/includes/tjucm.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public static function init($location = 'site')

$options = array("version" => $version);

if ($view == 'itemform' || $view == 'items')
if ($view == 'itemform')
{
HTMLHelper::script('media/com_tjucm/js/com_tjucm.min.js', $options);
HTMLHelper::script('media/com_tjucm/js/core/class.min.js', $options);
Expand All @@ -207,6 +207,8 @@ public static function init($location = 'site')
HTMLHelper::script('media/com_tjucm/js/ui/item.js');
}

// Load css file on every page
HTMLHelper::StyleSheet('media/com_tjucm/css/tjucm.css', $options);
$loaded[$location] = true;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/com_tjucm/site/layouts/detail/fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@

// To align text, textarea, textareacounter and editor fields properly

if ($field->type == 'Textarea'|| $field->type == 'Textareacounter'|| $field->type == 'Text' || $field->type == 'Editor')
if ($field->type == 'Textarea'|| $field->type == 'Textareacounter'|| $field->type == 'Text' || $field->type == 'Editor' || $field->type == 'tjlist')
{
?>
<div class="tj-wordwrap">
Expand Down

0 comments on commit 5106beb

Please sign in to comment.