edit-task
Home
Up
Delete
Task Name:
Task Description:
UPDATE ] remove code priority slider init ]
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 edit/task -v-004</h1> <h2>[previously]</h2> <ol style="font-size: 10px; font-weight: normal;"> <li><strong>[REFERENCE] <a href="/view/task?id=3042" target="_blank">PG edit/task</a> </strong></li> <ol> <li>] page description and link to all revisions</li> </ol> <li><strong>[2015-09-18] NEW VERSION -v-004 </strong></li> <ol> <li>] implementing ] cleanup ] ownerId ] </li> </ol></ol> <h2>[currently]</h2> <ol style="font-size: 10px; font-weight: normal;"> <li style="font-size: 10px; font-weight: normal;"><strong>[2015-09-19]</strong></li> <ol> <li>x] removed code to initialize priority slider, code is now in site.js and is functional across add/edit, article & task pages, </li> <li>x] see example below, </li> <li>x] see task id 5605 priority field updates</li> </ol> <li> <div>]</div> </li> </ol> <h2>[next]</h2> <div><ol> <li>] </li> </ol></div> <div><hr /></div> <div> <pre style="font-family: Consolas; font-size: 10pt; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"> // CB# - 1 - initialize the PRIORITY slider $(function() { $( "#priority" ).slider( { max: 0 }, { min: -10 }, { value: <span style="color: #222222; background: #d7bf49;">@</span><span style="color: #222222;">task</span><span style="color: #222222;">.</span><span style="color: #222222;">priority</span> }, { change: function(event, ui) { // var priority = $( ".priority" ).slider( "option", "value" ); $( "#priorityIn" ).val(ui.value); // alert("slider change new value="+ ui.value); } } ); });</pre> </div>