- Jquery is available under both MIT and GPL licences. More informations can be
found at http://docs.jquery.com/Licensing
-- newimage_throbber.gif and pwd_throbber.gif files have been generated with
+- editor-throbber.gif and pwd-throbber.gif files have been generated with
http://ajaxload.info/ generator and are free for use.
<input type="hidden" name="request" value="del">
<input type="hidden" name="fid">
</form>
+ <p id="editor_throbber" class="throbber center">
+ <?php ptrans('Connecting')?>
+ <img src="media/editor-throbber.gif">
+ </p>
</div>
<div id="login_area"
</p>
<p id="pwd_throbber" class="throbber center">
<?php ptrans('Connecting')?>
- <img src="media/pwd_throbber.gif" alt="throbber">
+ <img src="media/pwd-throbber.gif" alt="throbber">
</p>
<p class="error center" id="login_error"></p>
</form>
form.find('input[name="fid"]').val(feature.fid);
AjaxMgr.add({
form: form,
- oncomplete: OpenLayers.Function.bind(this.ajaxReply, this)
+ oncomplete: OpenLayers.Function.bind(this.ajaxReply, this),
+ onsend: function() { $("#editor_throbber").css("visibility", "visible"); }
});
},
}
AjaxMgr.add({
form: form,
- oncomplete: OpenLayers.Function.bind(this.ajaxReply, this)
+ oncomplete: OpenLayers.Function.bind(this.ajaxReply, this),
+ onsend: function() { $("#editor_throbber").css("visibility", "visible"); }
});
},
ajaxReply: function (data) {
+ $("#editor_throbber").css("visibility", "hidden");
if (!data) {
this.commError(SypStrings.ServerError);
return;