Skip to content
This repository was archived by the owner on Mar 13, 2026. It is now read-only.

Commit 9d0931e

Browse files
authored
Regenerated using latest generator (#3795)
1 parent 65b668a commit 9d0931e

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

src/system/RoutesModule/Base/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @author Zikula contributors <support@zikula.org>.
88
* @link http://www.zikula.org
99
* @link http://zikula.org
10-
* @version Generated by ModuleStudio 1.0.1 (https://modulestudio.de) at Tue Aug 29 08:29:15 CEST 2017.
10+
* @version Generated by ModuleStudio 1.0.1 (https://modulestudio.de) at Wed Aug 30 15:50:40 CEST 2017.
1111
*/
1212

1313
/**

src/system/RoutesModule/Form/Type/Base/AbstractRouteType.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ public function addEntityFields(FormBuilderInterface $builder, array $options)
289289
'empty_data' => '',
290290
'attr' => [
291291
'maxlength' => 11,
292-
'class' => ' validate-digits',
292+
'class' => '',
293293
'title' => $this->__('Enter the sort of the route.') . ' ' . $this->__('Only digits are allowed.')
294294
],
295295
'required' => false,
@@ -314,7 +314,6 @@ public function addModerationFields(FormBuilderInterface $builder, array $option
314314
'label' => $this->__('Creator') . ':',
315315
'attr' => [
316316
'maxlength' => 11,
317-
'class' => ' validate-digits',
318317
'title' => $this->__('Here you can choose a user which will be set as creator')
319318
],
320319
'empty_data' => 0,

src/system/RoutesModule/Resources/public/js/ZikulaRoutesModule.EditFunctions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function zikulaRoutesInitEditForm(mode, entityId)
7272
}
7373
});
7474
editForm.find('button[type=submit]').bind('click keypress', function (event) {
75-
triggerValidation = !jQuery(this).attr('formnovalidate');
75+
triggerValidation = !jQuery(this).prop('formnovalidate');
7676
});
7777
editForm.submit(zikulaRoutesHandleFormSubmit);
7878

src/system/RoutesModule/Resources/public/js/ZikulaRoutesModule.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function zikulaRoutesInitQuickNavigation()
3434
/**
3535
* Simulates a simple alert using bootstrap.
3636
*/
37-
function zikulaRoutesSimpleAlert(beforeElem, title, content, alertId, cssClass)
37+
function zikulaRoutesSimpleAlert(anchorElement, title, content, alertId, cssClass)
3838
{
3939
var alertBox;
4040

@@ -45,8 +45,8 @@ function zikulaRoutesSimpleAlert(beforeElem, title, content, alertId, cssClass)
4545
<p>' + content + '</p> \
4646
</div>';
4747

48-
// insert alert before the given element
49-
beforeElem.before(alertBox);
48+
// insert alert before the given anchor element
49+
anchorElement.before(alertBox);
5050

5151
jQuery('#' + alertId).delay(200).addClass('in').fadeOut(4000, function () {
5252
jQuery(this).remove();

src/system/RoutesModule/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @author Zikula contributors <support@zikula.org>.
88
* @link http://www.zikula.org
99
* @link http://zikula.org
10-
* @version Generated by ModuleStudio 1.0.1 (https://modulestudio.de) at Tue Aug 29 08:29:15 CEST 2017.
10+
* @version Generated by ModuleStudio 1.0.1 (https://modulestudio.de) at Wed Aug 30 15:50:40 CEST 2017.
1111
*/
1212

1313
/**

0 commit comments

Comments
 (0)