NIHVIVO-3468: added progress indicator to my account page

This commit is contained in:
manolobevia 2011-12-12 15:44:43 +00:00
parent a0d96494ea
commit 83c4e54a34
3 changed files with 7 additions and 2 deletions

View file

@ -476,6 +476,7 @@ span[name=proxySelectorSearchStatus] {
}
img.loading-relateEdior,
img.loading-relateProfile,
img.loading-addProfile {
img.loading-addProfile,
img.loading-profileMyAccoount {
padding-left: 10px;
}

View file

@ -190,6 +190,10 @@ $(document).ready(function() {
var progressImage;
$('#addProfileEditor').click(function(event){
progressImage = $(event.target).closest("section").find(".loading-profileMyAccoount")
});
$('#selectProfileEditors').click(function(event){
progressImage = $(event.target).closest("section").find(".loading-relateEditor")
});

View file

@ -6,7 +6,7 @@
<h4>Who can edit my profile</h4>
<label for="addProfileEditor">Add profile editor</label>
<input id="addProfileEditor" type="text" name="proxySelectorAC" class="acSelector" size="35" value="Select an existing last name" role="input" />
<input id="addProfileEditor" type="text" name="proxySelectorAC" class="acSelector" size="35" value="Select an existing last name" role="input" /><span><img class="loading-profileMyAccoount hidden" src="${urls.images}/indicatorWhite.gif" /></span>
<p class="search-status"><span name='proxySelectorSearchStatus' moreCharsText='type more characters' noMatchText='no match'>&nbsp;</span></p>
<p name="excludeUri" style="display: none">${myAccountUri}<p>