Changeset 761 for branches/features/taskProcedureRework/grails-app
- Timestamp:
- Jan 27, 2011, 6:55:48 PM (14 years ago)
- Location:
- branches/features/taskProcedureRework/grails-app
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/taskProcedureRework/grails-app/conf/Config.groovy
r759 r761 48 48 // packages to include in Spring bean scanning 49 49 grails.spring.bean.packages = [] 50 51 grails.views.javascript.library="jquery"52 50 53 51 /** -
branches/features/taskProcedureRework/grails-app/views/layouts/main.gsp
r711 r761 5 5 <link rel="stylesheet" href="${resource(dir:'css',file:'main.css')}" /> 6 6 <link rel="shortcut icon" href="${resource(dir:'images',file:'gnuMimsIcon.ico')}" type="image/x-icon" /> 7 <g:javascript library="jquery" /> 7 8 <g:javascript library="prototype/prototype" /> 8 9 <g:javascript library="prototype/effects" /> -
branches/features/taskProcedureRework/grails-app/views/taskProcedureDetailed/_maintenanceActions.gsp
r760 r761 7 7 var templateHtml = "<div id='" + htmlId + "' name='" + htmlId + "'>\n"; 8 8 templateHtml += "<input type='text' id='expandableMaintenanceActionList[" + childCount + "].description' name='expandableMaintenanceActionList[" + childCount + "].description' />\n"; 9 templateHtml += "<span onClick=' $(\"#" + htmlId + "\").remove();'><img src='" + deleteIcon + "' /></span>\n";9 templateHtml += "<span onClick='jQuery(\"#" + htmlId + "\").remove();'><img src='" + deleteIcon + "' /></span>\n"; 10 10 templateHtml += "</div>\n"; 11 $("#childList").append(templateHtml);11 jQuery("#childList").append(templateHtml); 12 12 childCount++; 13 13 } … … 20 20 <g:textField name='expandableMaintenanceActionList[${i}].description' value='${maintenanceAction.description}'/> 21 21 <input type="hidden" name='expandableMaintenanceActionList[${i}].deleted' id='expandableMaintenanceActionList[${i}].deleted' value='false'/> 22 <span onClick=" $('#expandableMaintenanceActionList\\[${i}\\]\\.deleted').val('true'); $('#maintenanceAction${i}').hide()"><img src="${resource(dir:'images/skin', file:'database_delete.png')}" /></span>22 <span onClick="jQuery('#expandableMaintenanceActionList\\[${i}\\]\\.deleted').val('true'); jQuery('#maintenanceAction${i}').hide()"><img src="${resource(dir:'images/skin', file:'database_delete.png')}" /></span> 23 23 </div> 24 24 </g:each> -
branches/features/taskProcedureRework/grails-app/views/taskProcedureDetailed/create.gsp
r760 r761 6 6 <meta name="layout" content="main" /> 7 7 <title>Create TaskProcedure</title> 8 <g:javascript library="jquery" plugin="jquery"/>9 8 <nav:resources override="true"/> 10 9 </head>
Note: See TracChangeset
for help on using the changeset viewer.