task

 SCRIPT toolbar-records 

[WHAT]

  1. [ def ]  script for the toolbar records that appears on the 
    1. ] record is COPY # #### - sospep-m.js
  2. [ args ] 

[WHY]

  1. [Properties]
  2. [Constructors]
  3. [Methods]
    1. ] document.ready() - 
    2. ] select-all() - 
    3. ] toggle-checked() - 
    4. **
    5. ] add-record() - 
    6. ] edit-records() - loads the "muliple-records-edit" page 
    7. ] delete-records() - deletes the records that the user has selected ( multiple)
    8. **
    9. ] toggle-todo
    10. ] toggle-inprocess
    11. ] toggle-completed
    12. ] toggle-all
    13. **
    14. ] #to-do.click() - shows just the records with the status of ...
    15. ] #in-process.click()  - shows just the records with the status of ...
    16. ] #completed.click() -  - shows just the records with the status of ...
    17. ] #all.click()
    18. **
    19. ] move-records
    20. ] copy-records
    21. ] combine-records
    22. **
    23. ] email-records
    24. ] sms-records

[WHERE called from]

  1. ] PAGE view/articles - 

[WHEN]

  1. ] 2016-12-22

[EXAMPLE]

  1. ] prev page notes

[HOW-TO]

  1. ]

[REFERENCE]

  1. [2016-12-dd] NEW task
    1. x] # 1827 - CREATE-PAGE-view-articles - 
  2. [2016-12-22] NEW PAGE-VERSION
    1. x] # 6696 - toolbar-records -v-001
    2. ] FEA 5100 - responsive 
    3. ] FEA ### - initial version of script for toolbar records, supercedes the toolbar_records.cshtml EXPERIMENTal, includes methods for toolbar buttons to operate on returned records for view articles
  3. [2016-12-dd] NEW task
    1. ] # # - PAGE-COMPONENT-toolbar-records.cshtml - displays toolbar of features/functionality for page
    2. ] # # - PAGE-view-articles, ..., PAGE-view-locations

developer implementation

[.process]

  1.  ] 

[.notes]

  1. [2016-12-23] 
    1. ] HAVE EXISTING toolbar-records.js IN /Shared - this version looks more complete then .cshtml version, 
  2. [2016-12-19] NEW PRB - toolbar-records.js
    1. ] # # - toolbar btn ADD/EDIT/DELETE button click not functional 
    2. ] CAUSE = script was broken with method call on #repeat.buttonset()
  3. [2016-12-20] NEW PRB - toolbar-records.js
    1. *] notes in file 

[.by_date]

  1. [YYYY-mm-DD]

status 

[previously]

  1.  ]http://api.jquery.com/on/

[currently]

[next]

- replacing toolbar_records.cshtml which has js with server side variables/functions injected


- TEST

- selectAll working,

 


- PRB - nothing works but selectAll

- CAUSE = 

- SOL - REM line about group buttons repe 

- added id to new menu items in tb_records.cshtml

- added id to all records

 


- PRB - not going into switch statement

- CAUSE wasnt reading value of current_app, 

- SOL =  FIX change from, .text() to .val() 



- 2016-12-21?  EDIT 

- switch block=subjects  

- subjects block, EDIT add/view all/ links to remove @Href calls (svr side function)

- links were old style links, ex viewSubjectChapterArticle..., replaced with current links, view/article

-  


- PRB - todo/inprocess/... radio button clicks NOT working

- see # FIX-PRB-6697


 2016-12-22, 21 PRB selector $(#myRadios :input) does not select the input group in my code, BUT works in example code

- CAUSE: 

- SOL 

- see # FIX-PRB-6697 


- 2016-12-22  EDIT switch statement to return/updae code for case objects 

- x] PAGE view/items EDITS 

- x] SWITCH block "systems" edits, x] align with block "subjects", 

- x] TEST PAGE local = PASS

- x] UPLOAD & TEST PAGE remote = PASS 


- 2016-12-23  EDIT switch statement to return/update code for case systems

- x] PAGE view/steps EDITS 

- x] SWITCH block "systems" edits, x] align with block "subjects", 

- x] TEST PAGE = FAIL

- x] fix code in t-b-records.js SWITCH case "systems" block 

- x] TEST PAGE local = PASS

- ] UPLOAD & TEST PAGE remote = 


- 2016-12-23 EDIT PAGE -_SiteLayout
- x] ADD tag comment end div container body 
- ] cleanup 'comment label tags' for consistency
- ] REMOVE none use ] NEW PAGE COM version, ] 

Details Photos Edit more

Details

ID: 6694

NAME: SCRIPT-toolbar-records

DESCRIPTION: NEW SCRIPT toolbar-records - ] script for the toolbar records PAGE COMPONENT that appears on the view/{l4} pages

START DATE TIME: 2016-12-22 21:19:02

EST DURATION: 01:00:00

END DATE TIME: 2016-12-22 22:19:02

STATUS: To-Do

PRIORITY: -5

OWNER ID: 75

Content Photos Edit more

photos

photos for this task

actions

Agenda Email task SMS task Priorities