Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
27dc01ef
Commit
27dc01ef
authored
Mar 23, 2016
by
Carsten Rose
Browse files
Fixed jQuery selectors.
parent
fc4a0ea8
Changes
3
Hide whitespace changes
Inline
Side-by-side
javascript/src/BSTabs.js
View file @
27dc01ef
...
...
@@ -185,7 +185,7 @@ if (!QfqNS) {
};
n
.
BSTabs
.
prototype
.
getContainingTabIdForFormControl
=
function
(
formControlName
)
{
var
$formControl
=
$
(
"
[name=
"
+
formControlName
+
"
]
"
);
var
$formControl
=
$
(
"
[name=
'
"
+
formControlName
+
"
'
]
"
);
if
(
$formControl
.
length
===
0
)
{
QfqNS
.
Log
.
debug
(
"
BSTabs.getContainingTabForFormControl(): unable to find form control with name '
"
+
formControlName
+
"
'
"
);
return
null
;
...
...
javascript/src/Element/NameSpaceFunctions.js
View file @
27dc01ef
...
...
@@ -16,7 +16,7 @@ if (!QfqNS.Element) {
'
use strict
'
;
n
.
getElement
=
function
(
name
)
{
var
$element
=
$
(
'
[name=
'
+
name
+
'
]
'
);
var
$element
=
$
(
'
[name=
"
'
+
name
+
'
"
]
'
);
if
(
$element
.
length
===
0
)
{
throw
Error
(
'
No element with name "
'
+
name
+
'
" found.
'
);
}
...
...
javascript/src/QfqForm.js
View file @
27dc01ef
...
...
@@ -62,7 +62,7 @@ if (!QfqNS) {
};
n
.
QfqForm
.
prototype
.
setupFormUpdateHandler
=
function
()
{
$
(
'
input[data-load]
'
).
on
(
'
change
'
,
this
.
formUpdateHandler
.
bind
(
this
));
$
(
'
input[data-load]
,select[data-load]
'
).
on
(
'
change
'
,
this
.
formUpdateHandler
.
bind
(
this
));
};
n
.
QfqForm
.
prototype
.
formUpdateHandler
=
function
()
{
...
...
@@ -412,7 +412,7 @@ if (!QfqNS) {
};
n
.
QfqForm
.
prototype
.
getFormGroupByControlName
=
function
(
formControlName
)
{
var
$formControl
=
$
(
"
[name=
"
+
formControlName
+
"
]
"
);
var
$formControl
=
$
(
"
[name=
'
"
+
formControlName
+
"
'
]
"
);
if
(
$formControl
.
length
===
0
)
{
QfqNS
.
Log
.
debug
(
"
QfqForm.setValidationState(): unable to find form control with name '
"
+
formControlName
+
"
'
"
);
return
null
;
...
...
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