Changeset 825
- Timestamp:
- Feb 24, 2011, 5:09:48 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/i18n/messages.properties
r818 r825 321 321 default.create.failure={0} could not be created. 322 322 default.create.revision.failure=Could not create revision. 323 default.could.not.perform.operation=Could not perform operation. 323 324 default.optimistic.locking.failure=Another user has updated this item while you were editing, please check the updated values. 324 325 default.file.over.max.size=Supplied file is greater than max size of {0} {1}. -
trunk/grails-app/views/layouts/main.gsp
r810 r825 28 28 <img src="${resource(dir:'images',file:'loading_bar.gif')}" alt="Spinner" /> 29 29 </div> 30 <div id="jQueryAjaxLoading" class="jQueryAjaxLoading" style="display:none;"> 31 <img src="${resource(dir:'images',file:'loading.gif')}" alt="Loading" title="Loading" /> 32 </div> 33 <div id="jQueryAjaxDefaultError" class="message_error" style="display:none;"> 34 <g:message code="default.could.not.perform.operation" /> 35 </div>' 30 36 <g:if env="production"> 31 37 <div id="Header"> -
trunk/web-app/css/main.css
r824 r825 231 231 .jQueryAjaxLoading { 232 232 margin: 10px 0 5px 0; 233 padding: 5px 5px 5px 0px 233 padding: 5px 5px 5px 0px; 234 234 } 235 235 -
trunk/web-app/js/application.js
r824 r825 15 15 // jQuery AJAX utils. 16 16 17 function getLoadingHtml() { 18 var imgSrc = getContextPath()+"/images/loading.gif"; 19 return '<div class="jQueryAjaxLoading"><img src="'+imgSrc+'" />.</div>'; 17 function loadingIndication() { 18 return jQuery('#jQueryAjaxLoading').clone(); 20 19 } 21 20 22 function getErrorHtml() { 23 var html = '<div class="message_error">Could not perform operation.</div>'; 24 return html; 21 function errorIndication() { 22 return jQuery('#jQueryAjaxDefaultError').clone(); 25 23 }
Note: See TracChangeset
for help on using the changeset viewer.