summaryrefslogtreecommitdiffstats
path: root/public/javascripts/application.js
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2021-11-08 20:14:49 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2021-11-08 20:14:49 +0000
commit1245708ba77b66ae4ab88434757ca4d9c965ae53 (patch)
tree69afc6fc339758698d8ebd462efb0673bcdacc9e /public/javascripts/application.js
parentc24b019c627ce159a258ac853c9f909627acbbd8 (diff)
downloadredmine-1245708ba77b66ae4ab88434757ca4d9c965ae53.tar.gz
redmine-1245708ba77b66ae4ab88434757ca4d9c965ae53.zip
Fix typo in class 'icon-expended' (#36149).
Patch by Bernhard Rohloff. git-svn-id: http://svn.redmine.org/redmine/trunk@21275 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/javascripts/application.js')
-rw-r--r--public/javascripts/application.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index 7feb3a293..4d7ff583a 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -31,7 +31,7 @@ function toggleRowGroup(el) {
var tr = $(el).parents('tr').first();
var n = tr.next();
tr.toggleClass('open');
- $(el).toggleClass('icon-expended icon-collapsed');
+ $(el).toggleClass('icon-expanded icon-collapsed');
while (n.length && !n.hasClass('group')) {
n.toggle();
n = n.next('tr');
@@ -43,7 +43,7 @@ function collapseAllRowGroups(el) {
tbody.children('tr').each(function(index) {
if ($(this).hasClass('group')) {
$(this).removeClass('open');
- $(this).find('.expander').switchClass('icon-expended', 'icon-collapsed');
+ $(this).find('.expander').switchClass('icon-expanded', 'icon-collapsed');
} else {
$(this).hide();
}
@@ -55,7 +55,7 @@ function expandAllRowGroups(el) {
tbody.children('tr').each(function(index) {
if ($(this).hasClass('group')) {
$(this).addClass('open');
- $(this).find('.expander').switchClass('icon-collapsed', 'icon-expended');
+ $(this).find('.expander').switchClass('icon-collapsed', 'icon-expanded');
} else {
$(this).show();
}
@@ -74,7 +74,7 @@ function toggleAllRowGroups(el) {
function toggleFieldset(el) {
var fieldset = $(el).parents('fieldset').first();
fieldset.toggleClass('collapsed');
- fieldset.children('legend').toggleClass('icon-expended icon-collapsed');
+ fieldset.children('legend').toggleClass('icon-expanded icon-collapsed');
fieldset.children('div').toggle();
}
@@ -550,12 +550,12 @@ function scmEntryClick(id, url) {
var el = $('#'+id);
if (el.hasClass('open')) {
collapseScmEntry(id);
- el.find('.expander').switchClass('icon-expended', 'icon-collapsed');
+ el.find('.expander').switchClass('icon-expanded', 'icon-collapsed');
el.addClass('collapsed');
return false;
} else if (el.hasClass('loaded')) {
expandScmEntry(id);
- el.find('.expander').switchClass('icon-collapsed', 'icon-expended');
+ el.find('.expander').switchClass('icon-collapsed', 'icon-expanded');
el.removeClass('collapsed');
return false;
}
@@ -568,7 +568,7 @@ function scmEntryClick(id, url) {
success: function(data) {
el.after(data);
el.addClass('open').addClass('loaded').removeClass('loading');
- el.find('.expander').switchClass('icon-collapsed', 'icon-expended');
+ el.find('.expander').switchClass('icon-collapsed', 'icon-expanded');
}
});
return true;