Ignore:
Timestamp:
Feb 24, 2011, 12:11:31 PM (13 years ago)
Author:
gav
Message:

Add jQuery AJAX util js and css.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web-app/js/application.js

    r311 r824  
    1212    });
    1313}
     14
     15// jQuery AJAX utils.
     16
     17function getLoadingHtml() {
     18    var imgSrc = getContextPath()+"/images/loading.gif";
     19    return '<div class="jQueryAjaxLoading"><img src="'+imgSrc+'" />.</div>';
     20}
     21
     22function getErrorHtml() {
     23    var html =  '<div class="message_error">Could not perform operation.</div>';
     24    return html;
     25}
Note: See TracChangeset for help on using the changeset viewer.