task

FEATURE - select3.js

[what]

  1. ] REFACTOR CODE select3_s.js -   replace 6 similar scripts with 1 common script, pass in the variables needed for the distint values of each 

[why]

  1. x] replace 6 similar scripts with 1 common script, pass in the 'distinct' variables needed to customize for each app, uses svr side app object to set current app, 
  2. x] maintain & develop 1 script VS 6

[where]

  1. x] PAGE - add/{l5}
    1. x] article 
    2. x] item
    3. x] step
    4. x] person
    5. x] task
    6. x] location

[when]

  1. x] 2014-01

[example]

  1. x] http://sospep/add/article
    1. x] no visible difference between

[how-to]

[reference]

  1. x] PAGE add/article - 
  2. x] PAGE add/item
  3. x] PAGE add/step  
  4. x] PAGE add/person
  5. x] PAGE add/task
  6. x] PAGE add/location 

developer implementation

[.process] 

  1. x] create select3.js based on select3_s.js 
    1. x]  
  2. *] rewrite select3.js
  3. x] change links on PAGES
    1. x] form select3_s to select3
  4. x] adding selL1fill() function to our global.js file
    1. x] done 
  5. x] calling selL1fill() after current app var has been set
    1. ] IIFE 
    2. ] setting current_app in global VS in script (IIFE or call)

[.notes]

  1. ] replacing hardcoded parents with generated parents

 

status

 

[-previously-]

  1. [2014-01-26] CREATE
    1. x] select3.js - replaces select3_s.js - replace app specific vars with generic vars
    2. x] replace calls to qry/pages ex selectBooksInLibary to -a versions which are generic VS specific, (id VS id_chapter)
    3. x] change to 'immediately invoked' function for fillL1 VS called function
    4. ] PRB - passing in qryL1, script that fills the selects is executing B4 the script that passes the necessary vals to the script
  2. [2014-01-28]
    1. x] add/item
    2. x] add/step
    3. x] add/person 
  3. [2014-01-29]
    1. x] add/task
    2. x] add/location 
    3. x] published as rev-002 in BK-2014-01

[-current-]

  1.  ]

[-next-]

  1. ]

  

Details Photos Edit more

Details

ID: 3420

NAME: FEATURE-select3

DESCRIPTION: REFACTOR replace multiple similar scripts with 1 script

START DATE TIME: 2014-01-27 21:19:02

EST DURATION: 01:00:00

END DATE TIME: 2014-01-27 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