edit-task
Home
Up
Delete
Task Name:
Task Description:
NEW PAGE to add a new 'location' record to the PLACES app
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;">PG M add/location -v-001</h1> <h2>[previously]</h2> <ol> <li>] <a href="task?id=1914" target="_blank">PAGE - M -add/location</a> - description and history of page, versions list</li> </ol> <h2>[currently]</h2> <ol> <li>x] NEW PAGE - based on ADD/m_task</li> <li>x] copy, alter, upload</li> <li>x] PG view/m_locations - APPEND sectorId(from Session var) to navHeader link 'add'</li> <li>x] PG view/m_location- APPEND sectorId (from Session var) to navHeader link 'add'</li> <li>*] TEST = </li> <ol> <li>] display = OK </li> <li>] add = </li> <li>x] PRB = 'default location' is in 'templates', new 'locations' are located in 'templates'</li> <ol> <li>x] TRY create a sector object using passed in id(already had)</li> <li>x] set values of ATLAS fields with setParents method</li> <li><span style="background-color: #ffff99;">x] WA = STATUS add location = ADDS LOCATION to the ATLAS that you are currently viewing</span></li> </ol> <li>] PRB wtih selects for country, city state FOR NOW add to current country city state OR </li> <ol> <li>] EX nascar tracks are in different states so need option to pick from any state </li> <li><span style="text-decoration: line-through;">] WA = go to desired country/state/city and add location there</span></li> <li>] STATUS = all locations have the country, city and state of the default location</li> <li><span style="background-color: #ffff99;">x] CAUSE select 'disabled' attribute </span></li> <ol> <li>] SEEMS to be the cause of selects NOT GETTING FILLED, remove disable with code attr was not working but works in browser</li> </ol></ol></ol><ol><ol><ol> <li>x] REMOVE ATTRIBUTE 'disable 'and selects are now getting filled when the change event of the higher level select is fired </li> </ol></ol> <li>x] replace document.ready() with $("#pageId").live('pagecreate', function(){})</li> <ol> <li>*] WORKING BUT - live is deprecated, should be using ".on"</li> </ol> <li><span style="background-color: #ffff99;">>> i] test 'on' pageinit, 'pagecreate' events </span></li> <ol> <li>] FAIL</li> </ol></ol> <li>x] add method for 'add City'</li> <ol> <li>] TEST = displays</li> </ol> <li>>> i] add method for 'add State'</li> <ol> <li>] TEST = PRB syntax error in code block, see file cut-code</li> </ol> <li>>> i] TEST on self exec anon function</li> <ol> <li>x] replace define function doIt(){} and then call function doIt() with (doIt(){//code})();</li> <li>] FAIL</li> </ol> <li><strong>x] CLOSE -v-001</strong> </li> <ol> <li>x] still working on problems with cascading selects for country/state/city in jqm pages, PRB populating selects with ajax call, currently working in browser, NOT on mobile</li> </ol> <li>] PRB - selects are loading/filling on desktop browser, NOTHING in mobile</li> </ol> <h2>[next]</h2> <ol> <li>] </li> <li>] PG add/m_article - navHeader UP button replaces ADD button</li> <li>] ADD MORE 'location' fields = ] priority, ] </li> <li>] add State</li> <li>] self exec anon function for ....</li> <li>] replace .live with .on</li> </ol>