Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
clientside_validation
Commits
08b2f5d4
Commit
08b2f5d4
authored
Nov 16, 2012
by
Jelle Sebreghts
Browse files
Issue #1795502 by torotil: Fixed IFE breaks views_ui().
parent
e33f4958
Changes
2
Hide whitespace changes
Inline
Side-by-side
clientside_validation.admin.inc
View file @
08b2f5d4
...
...
@@ -66,7 +66,7 @@ function clientside_validation_general_settings_form($form_id, $form_state) {
$form
[
'clientside_validation_pages'
][
'clientside_validation_path_list'
]
=
array
(
'#type'
=>
'textarea'
,
'#default_value'
=>
variable_get
(
'clientside_validation_path_list'
,
''
),
'#default_value'
=>
variable_get
(
'clientside_validation_path_list'
,
'
admin/structure/views/view/*
'
),
'#title'
=>
t
(
"Enter paths"
),
'#description'
=>
t
(
"Enter one page per line as Drupal paths.
The '*' character is a wildcard. Example paths are %blog for the blog page and
...
...
clientside_validation.install
View file @
08b2f5d4
...
...
@@ -255,3 +255,14 @@ function clientside_validation_update_7103() {
}
variable_set
(
'clientside_validation_default_settings'
,
$default_settings
);
}
/**
* Disable clientside validation for views.
*/
function
clientside_validation_update_7104
()
{
$paths
=
explode
(
"
\n
"
,
variable_get
(
'clientside_validation_path_list'
,
''
));
if
(
array_search
(
'admin/structure/views/view/*'
,
$paths
)
===
FALSE
)
{
$paths
[]
=
'admin/structure/views/view/*'
;
}
variable_set
(
'clientside_validation_path_list'
,
implode
(
"
\n
"
,
$paths
));
}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment