Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#32034] Removing MooTools dependencies from beez3 template #2002

Closed
wants to merge 6 commits into from
2 changes: 1 addition & 1 deletion templates/beez3/html/com_content/form/edit.php
Expand Up @@ -29,7 +29,7 @@
<script type="text/javascript">
Joomla.submitbutton = function(task)
{
if (task == 'article.cancel' || document.formvalidator.isValid(document.id('adminForm')))
if (task == 'article.cancel' || document.formvalidator.isValid(document.getElementById('adminForm')))
{
<?php echo $this->form->getField('articletext')->save(); ?>
Joomla.submitform(task);
Expand Down
2 changes: 1 addition & 1 deletion templates/beez3/html/com_weblinks/form/edit.php
Expand Up @@ -19,7 +19,7 @@
<script type="text/javascript">
Joomla.submitbutton = function(task)
{
if (task == 'weblink.cancel' || document.formvalidator.isValid(document.id('adminForm')))
if (task == 'weblink.cancel' || document.formvalidator.isValid(document.getElementById('adminForm')))
{
<?php echo $this->form->getField('description')->save(); ?>
Joomla.submitform(task);
Expand Down