Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
d1104429
Commit
d1104429
authored
Jan 13, 2015
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Consistently use single quotes inside js
Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
c4aad479
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
weblate/media/loader-bootstrap.js
weblate/media/loader-bootstrap.js
+7
-7
No files found.
weblate/media/loader-bootstrap.js
View file @
d1104429
...
...
@@ -167,7 +167,7 @@ function processMachineTranslation(data, textStatus, jqXHR) {
$machineTranslations
.
append
(
newRow
);
}
});
$
(
'
a.copymt
'
).
button
({
text
:
true
,
icons
:
{
primary
:
"
ui-icon-copy
"
}}).
click
(
function
()
{
$
(
'
a.copymt
'
).
button
({
text
:
true
,
icons
:
{
primary
:
'
ui-icon-copy
'
}}).
click
(
function
()
{
var
text
=
$
(
this
).
parent
().
parent
().
find
(
'
.target
'
).
text
();
$
(
'
.translation-editor
'
).
val
(
text
).
trigger
(
'
autosize.resize
'
);
$
(
'
#id_fuzzy
'
).
prop
(
'
checked
'
,
true
);
...
...
@@ -247,7 +247,7 @@ function loadTableSorting() {
// Store index copy
var
myIndex
=
thIndex
;
// Add icon, title and class
th
.
attr
(
'
title
'
,
gettext
(
"
Sort this column
"
)).
addClass
(
'
sort-cell
'
).
append
(
'
<i class="sort-button fa fa-chevron-down sort-none" />
'
);
th
.
attr
(
'
title
'
,
gettext
(
'
Sort this column
'
)).
addClass
(
'
sort-cell
'
).
append
(
'
<i class="sort-button fa fa-chevron-down sort-none" />
'
);
// Click handler
th
.
click
(
function
()
{
...
...
@@ -333,9 +333,9 @@ $(function () {
$content
.
load
(
$target
.
data
(
'
href
'
),
function
(
response
,
status
,
xhr
)
{
if
(
status
===
"
error
"
)
{
if
(
status
===
'
error
'
)
{
var
msg
=
gettext
(
'
Error while loading page:
'
);
$content
.
html
(
msg
+
"
"
+
xhr
.
status
+
"
"
+
xhr
.
statusText
);
$content
.
html
(
msg
+
'
'
+
xhr
.
status
+
'
'
+
xhr
.
statusText
);
}
$target
.
data
(
'
loaded
'
,
1
);
loadTableSorting
();
...
...
@@ -381,8 +381,8 @@ $(function () {
$
(
'
#div_id_content
'
).
hide
();
/* Form automatic submission */
$
(
"
form.autosubmit select
"
).
change
(
function
()
{
$
(
"
form.autosubmit
"
).
submit
();
$
(
'
form.autosubmit select
'
).
change
(
function
()
{
$
(
'
form.autosubmit
'
).
submit
();
});
/* Row expander */
...
...
@@ -461,7 +461,7 @@ $(function () {
});
/* Navigate to a tab when the history changes */
window
.
addEventListener
(
"
popstate
"
,
function
(
e
)
{
window
.
addEventListener
(
'
popstate
'
,
function
(
e
)
{
activeTab
=
$
(
'
[data-toggle=tab][href=
'
+
location
.
hash
+
'
]
'
);
if
(
activeTab
.
length
)
{
activeTab
.
tab
(
'
show
'
);
...
...
Write
Preview
Markdown
is supported
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