Guest User

Untitled

a guest
Feb 20th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. new documents_edit.init({
  2.             url: '#application.urlroot#app/components/attachment.cfc?method=updateEdocs',
  3.             save_button: '##save-gcrc',
  4.             cancel_button: '##cancel-gcrc',
  5.             container: '##gcrc-container',
  6.             template: '##gcrc-edit-template',
  7.             form: '##gcrc-form'
  8.         });
  9.  
  10.         new documents_read.init({
  11.             url: '#application.urlroot#app/components/attachment.cfc?method=getDocumentsAndTypes&type=gcrc',
  12.             ctsi_id: '#url.ctsi_id#',
  13.             edit_button: '##edit-gcrc',
  14.             container: '##gcrc-container',
  15.             template: '##gcrc-view-template'
  16.  
  17.         });
  18.  
  19.         new documents_edit.init({
  20.             url: '#application.urlroot#app/components/attachment.cfc?method=updateStudyDocs',
  21.             save_button: '##save-study',
  22.             cancel_button: '##cancel-study',
  23.             container: '##study-container',
  24.             template: '##study-edit-template',
  25.             form: '##study-form'
  26.         });
  27.  
  28.         new documents_read.init({
  29.             url: '#application.urlroot#app/components/attachment.cfc?method=getDocumentsAndTypes&type=study',
  30.             ctsi_id: '#url.ctsi_id#',
  31.             edit_button: '##edit-study',
  32.             container: '##study-container',
  33.             template: '##study-view-template'
  34.  
  35.         });
Add Comment
Please, Sign In to add comment