Change export button text while the table contents are switched between Sub-Disciplines and Disciplines
This commit is contained in:
parent
68802445fc
commit
7a7406a35c
1 changed files with 2 additions and 0 deletions
|
@ -233,6 +233,7 @@ var DataTableWidget = Class.extend({
|
||||||
}
|
}
|
||||||
me.currentSelectedFilter = SCIMAP_TYPE.SUBDISCIPLINE;
|
me.currentSelectedFilter = SCIMAP_TYPE.SUBDISCIPLINE;
|
||||||
$("a#csv").attr("href", entityMapOfScienceSubDisciplineCSVURL);
|
$("a#csv").attr("href", entityMapOfScienceSubDisciplineCSVURL);
|
||||||
|
$("a#csv").html("Export All Sub-Displines");
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
@ -242,6 +243,7 @@ var DataTableWidget = Class.extend({
|
||||||
me.widget.fnSettings()._iDisplayLength = 13;
|
me.widget.fnSettings()._iDisplayLength = 13;
|
||||||
}
|
}
|
||||||
$("a#csv").attr("href", entityMapOfScienceDisciplineCSVURL);
|
$("a#csv").attr("href", entityMapOfScienceDisciplineCSVURL);
|
||||||
|
$("a#csv").html("Export All Displines");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue