Changeset 831 for trunk/web-app/js
- Timestamp:
- Feb 27, 2011, 11:46:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web-app/js/taskShow.js
r826 r831 1 1 2 function getMaintenanceEntryForm(taskId, entryTypeId) { 3 4 var p = {}; 5 for (var i = 0, j = arguments.length; i < j; i++){ 6 p[i] = arguments[i]; 7 } 2 // Load an Entry from via AJAX. 3 // @container Container object to load response into. 4 // @button Button object used to trigger this function. 5 // @args Params map to pass to actionUrl. 6 function loadEntryForm(container, button, params) { 8 7 9 8 var actionUrl = getContextPath()+"/entryDetailed/ajaxCreate/"; 10 var container = jQuery('#maintenanceEntryContainer');11 var button = jQuery('#maintenanceEntryButton');12 var params = {taskId: taskId, entryTypeId: entryTypeId};13 9 14 10 function success(data, textStatus, jqXHR){
Note: See TracChangeset
for help on using the changeset viewer.