Skip to content

Commit 289460a

Browse files
authored
[4.0] Remove renderfield.php from com_contact (#34617)
1 parent 9ed9fe0 commit 289460a

File tree

4 files changed

+5
-62
lines changed

4 files changed

+5
-62
lines changed

administrator/components/com_admin/script.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5859,6 +5859,8 @@ public function deleteUnexistingFiles($dryRun = false, $suppressOutput = false)
58595859
'/media/com_fields/js/admin-field-edit-modal.js',
58605860
'/media/com_fields/js/admin-field-edit-modal.min.js',
58615861
'/media/com_fields/js/admin-field-edit-modal.min.js.gz',
5862+
// 4.0 from RC 2 to RC 3
5863+
'/components/com_contact/layouts/joomla/form/renderfield.php',
58625864
);
58635865

58645866
$folders = array(

components/com_contact/layouts/joomla/form/renderfield.php

Lines changed: 0 additions & 60 deletions
This file was deleted.

language/en-GB/com_contact.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ COM_CONTACT_NEW_CONTACT="New Contact"
7070
COM_CONTACT_NO_CONTACTS="There are no Contacts to display"
7171
COM_CONTACT_NOT_MORE_THAN_ONE_EMAIL_ADDRESS="You can't enter more than one email address."
7272
COM_CONTACT_NUM_ITEMS="Contact Count:"
73-
COM_CONTACT_OPTIONAL="(optional)"
7473
COM_CONTACT_OTHER_INFORMATION="Miscellaneous Information"
7574
COM_CONTACT_POSITION="Position"
7675
COM_CONTACT_PROFILE="Profile"

plugins/content/confirmconsent/src/Field/ConsentBoxField.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,10 @@ protected function getInput()
203203
{
204204
$modalParams['title'] = $layoutData['label'];
205205
$modalParams['url'] = ($this->privacyType === 'menu_item') ? $this->getAssignedMenuItemUrl() : $this->getAssignedArticleUrl();
206-
$modalParams['height'] = 800;
206+
$modalParams['height'] = '100%';
207207
$modalParams['width'] = '100%';
208+
$modalParams['bodyHeight'] = 70;
209+
$modalParams['modalWidth'] = 80;
208210
$modalHtml = HTMLHelper::_('bootstrap.renderModal', 'modal-' . $this->id, $modalParams);
209211
}
210212

0 commit comments

Comments
 (0)