edit-task
Home
Up
Delete
Task Name:
Task Description:
NEW SCRIPT toolbar-records - ] script for the toolbar records PAGE COMPONENT that appears on the view/{l4} pages
TaskGroup ID:
Start Date:
Start Time:
Duration:
Priority:
Status:
To Do
Completed
In Process
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h1 style="text-align: center;"> SCRIPT toolbar-records </h1> <h2>[WHAT]</h2> <ol> <li>[ def ] script for the toolbar records that appears on the </li> <ol> <li>] record is COPY # #### - sospep-m.js</li> </ol> <li>[ args ] </li> </ol> <h2>[WHY]</h2> <ol> <li><strong>[Properties]</strong></li> <ol> <li>] </li> </ol> <li><strong>[Constructors]</strong></li> <ol> <li>] </li> </ol> <li><strong>[Methods]</strong></li> <ol> <li>] document.ready() - </li> <li>] select-all() - </li> <li>] toggle-checked() - </li> <li>**</li> <li>] add-record() - </li> <li>] edit-records() - loads the "muliple-records-edit" page </li> <li>] delete-records() - deletes the records that the user has selected ( multiple)</li> <li>**</li> <li>] toggle-todo</li> <li>] toggle-inprocess</li> <li>] toggle-completed</li> <li>] toggle-all</li> <li>**</li> <li>] #to-do.click() - shows just the records with the status of ...</li> <li>] #in-process.click() - shows just the records with the status of ...</li> <li>] #completed.click() - - shows just the records with the status of ...</li> <li>] #all.click()</li> <li>**</li> <li>] move-records</li> <li>] copy-records</li> <li>] combine-records</li> <li>**</li> <li>] email-records</li> <li>] sms-records</li> </ol></ol> <h2>[WHERE called from]</h2> <ol> <li>] PAGE view/articles - </li> </ol> <h2>[WHEN]</h2> <ol> <li>] 2016-12-22</li> </ol> <h2>[EXAMPLE]</h2> <ol> <li>] prev page notes</li> </ol> <h2>[HOW-TO]</h2> <ol> <li>]</li> </ol> <h2>[REFERENCE]</h2> <ol> <li><strong>[2016-12-dd] NEW task</strong></li> <ol> <li>x] # 1827 - <a href="/view/task?id=1827" target="_blank">CREATE-PAGE-view-articles</a> - </li> </ol> <li><strong>[2016-12-22] NEW PAGE-VERSION</strong></li> <ol> <li>x] # 6696 - <a href="/view/task?id=6696" target="_blank">toolbar-records -v-001</a> - </li> <li>] FEA 5100 - responsive </li> <li>] 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</li> </ol> <li><strong>[2016-12-dd] NEW task</strong></li> <ol> <li>] # # - PAGE-COMPONENT-toolbar-records.cshtml - displays toolbar of features/functionality for page</li> <li>] # # - PAGE-view-articles, ..., PAGE-view-locations</li> </ol></ol><hr /> <h1 style="text-align: center;">developer implementation</h1> <h2>[.process]</h2> <ol> <li> ] </li> </ol> <h2>[.notes]</h2> <ol> <li><strong>[2016-12-23] </strong></li> <ol> <li><span style="background-color: #ffff99;">] HAVE EXISTING toolbar-records.js IN /Shared</span> - this version looks more complete then .cshtml version, </li> </ol> <li><strong>[2016-12-19] NEW PRB - toolbar-records.js</strong></li> <ol> <li>] # # - toolbar btn ADD/EDIT/DELETE button click not functional </li> <li>] CAUSE = script was broken with method call on #repeat.buttonset()</li> </ol> <li><strong>[2016-12-20] NEW PRB - toolbar-records.js</strong></li> <ol> <li>*] notes in file </li> </ol></ol> <h2>[.by_date]</h2> <ol> <li>[YYYY-mm-DD]</li> </ol><hr /> <h1 style="text-align: center;">status<span style="font-size: 10px;"> </span></h1> <h2>[previously]</h2> <div><ol> <li>] </li> <li> ]http://api.jquery.com/on/</li> </ol></div> <h2>[currently]</h2> <ol> <li>] </li> </ol> <h2>[next]</h2> <ol> <li>] </li> </ol> <div> <p>- replacing toolbar_records.cshtml which has js with server side variables/functions injected</p> <hr /> <p><strong>- TEST</strong></p> <p>- selectAll working,</p> <p> </p> <hr /> <p><strong>- PRB - nothing works but selectAll</strong></p> <p>- CAUSE = </p> <p>- SOL - REM line about group buttons repe </p> <p>- added id to new menu items in tb_records.cshtml</p> <p>- added id to all records</p> <p> </p> <hr /> <p><strong>- PRB - not going into switch statement</strong></p> <p>- CAUSE wasnt reading value of current_app, </p> <p>- SOL = FIX change from, .text() to .val() </p> <hr /> <p><strong><br /></strong><strong>- 2016-12-21? </strong><strong> EDIT </strong></p> <p>- switch block=subjects </p> <p>- subjects block, EDIT add/view all/ links to remove @Href calls (svr side function)</p> <p>- links were old style links, ex viewSubjectChapterArticle..., replaced with current links, view/article</p> <p>- </p> <hr /> <p><strong>- PRB - todo/inprocess/... radio button clicks NOT working</strong></p> <p>- see # FIX-PRB-6697</p> <hr /> <p><strong>- </strong><strong> 2016-12-22, 21 </strong><strong>PRB selector $(#myRadios :input) does not select the input group in my code, BUT works in example code</strong></p> <p>- CAUSE: </p> <p>- SOL </p> <p>- see # FIX-PRB-6697 </p> <hr /> <p><strong>- 2016-12-22 </strong><strong> EDIT switch statement to return/updae code for case objects </strong></p> <p>- x] PAGE view/items EDITS </p> <p>- x] SWITCH block "systems" edits, x] align with block "subjects", </p> <p>- x] TEST PAGE local = PASS</p> <p>- x] UPLOAD & TEST PAGE remote = PASS </p> </div> <div><hr /></div> <div> <p><strong>- 2016-12-23 </strong><strong> EDIT switch statement to return/update code for case systems</strong></p> <p>- x] PAGE view/steps EDITS </p> <p>- x] SWITCH block "systems" edits, x] align with block "subjects", </p> <p>- x] TEST PAGE = FAIL</p> <p>- x] fix code in t-b-records.js SWITCH case "systems" block </p> <p>- x] TEST PAGE local = PASS</p> <p>- ] UPLOAD & TEST PAGE remote = </p> <hr /></div> <div><strong>- 2016-12-23 EDIT PAGE -_SiteLayout</strong></div> <div>- x] ADD tag comment end div container body </div> <div>- ] cleanup 'comment label tags' for consistency</div> <div>- ] REMOVE none use ] NEW PAGE COM version, ] </div> <div><hr /></div>