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
6badfe11
Commit
6badfe11
authored
May 12, 2014
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove old progressbar code
Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
9dedf122
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
35 deletions
+0
-35
weblate/media/loader.js
weblate/media/loader.js
+0
-35
No files found.
weblate/media/loader.js
View file @
6badfe11
...
@@ -200,39 +200,6 @@ function load_table_sorting() {
...
@@ -200,39 +200,6 @@ function load_table_sorting() {
});
});
}
}
function
load_progress
()
{
$
(
'
div.progress
'
).
each
(
function
f
(
i
,
e
)
{
var
$e
=
$
(
e
);
var
good
=
parseFloat
(
$e
.
data
(
'
value
'
));
var
checks
=
-
1
;
if
(
$e
.
data
(
'
checks
'
))
{
checks
=
parseFloat
(
$e
.
data
(
'
checks
'
));
good
=
good
-
checks
;
}
var
parts
=
[{
value
:
good
,
barClass
:
'
good
'
}];
if
(
checks
!==
-
1
)
{
parts
.
push
({
value
:
checks
,
barClass
:
'
checks
'
});
}
if
(
$e
.
data
(
'
fuzzy
'
))
{
parts
.
push
({
value
:
parseFloat
(
$e
.
data
(
'
fuzzy
'
)),
barClass
:
'
fuzzy
'
});
}
$e
.
multiprogressbar
({
parts
:
parts
});
});
$
(
'
div.progress .checks
'
).
attr
(
'
title
'
,
gettext
(
'
Strings with any failing checks
'
));
$
(
'
div.progress .fuzzy
'
).
attr
(
'
title
'
,
gettext
(
'
Fuzzy strings
'
));
$
(
'
div.progress .good
'
).
attr
(
'
title
'
,
gettext
(
'
Translated strings
'
));
}
function
zen_editor
(
e
)
{
function
zen_editor
(
e
)
{
var
$this
=
$
(
this
);
var
$this
=
$
(
this
);
...
@@ -262,7 +229,6 @@ function init_editor(editors) {
...
@@ -262,7 +229,6 @@ function init_editor(editors) {
$
(
function
()
{
$
(
function
()
{
$
(
'
.button
'
).
button
();
$
(
'
.button
'
).
button
();
$
(
'
#breadcrumbs
'
).
buttonset
();
$
(
'
#breadcrumbs
'
).
buttonset
();
load_progress
();
$
(
'
.sug-accept
'
).
button
({
text
:
false
,
icons
:
{
primary
:
"
ui-icon-check
"
}});
$
(
'
.sug-accept
'
).
button
({
text
:
false
,
icons
:
{
primary
:
"
ui-icon-check
"
}});
$
(
'
.sug-delete
'
).
button
({
text
:
false
,
icons
:
{
primary
:
"
ui-icon-close
"
}});
$
(
'
.sug-delete
'
).
button
({
text
:
false
,
icons
:
{
primary
:
"
ui-icon-close
"
}});
$
(
'
.sug-upvote
'
).
button
({
text
:
false
,
icons
:
{
primary
:
"
ui-icon-plusthick
"
}});
$
(
'
.sug-upvote
'
).
button
({
text
:
false
,
icons
:
{
primary
:
"
ui-icon-plusthick
"
}});
...
@@ -395,7 +361,6 @@ $(function () {
...
@@ -395,7 +361,6 @@ $(function () {
load
:
function
(
e
,
ui
)
{
load
:
function
(
e
,
ui
)
{
$
(
ui
.
panel
).
find
(
"
.tab-loading
"
).
remove
();
$
(
ui
.
panel
).
find
(
"
.tab-loading
"
).
remove
();
load_table_sorting
();
load_table_sorting
();
load_progress
();
$
(
'
.buttons
'
).
buttonset
();
$
(
'
.buttons
'
).
buttonset
();
$
(
'
.buttons .disabled
'
).
button
(
'
disable
'
);
$
(
'
.buttons .disabled
'
).
button
(
'
disable
'
);
$
(
'
.details-accordion
'
).
accordion
({
collapsible
:
true
,
active
:
false
});
$
(
'
.details-accordion
'
).
accordion
({
collapsible
:
true
,
active
:
false
});
...
...
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