SiT! Bugs - SiT!
View Issue Details
0001413SiT!incidentspublic2010-10-13 20:362011-04-02 18:06
nicdev 
paulh 
normaltweakN/A
resolvedfixed 
3.62 LTS 
3.90beta1Current GIT 
0001413: For new plugin: Add plugin_do to incident_details and give 'id' to div tag
For an new plugin we are working on, we need to add a plugin_do to incident_details.php and we need to give the update details "<div>" tag a name ('id').

The plugin aims to use JS to enable an engineer to hide or show updates by clicking a "hide/show" button in the update bar. To do this we need to let the <div> have an id like <div class='detailentry' id='{$updateid}>.

The plugin_do will contain the <script> tags and the ajax code. The JS will be in a separate .js file.

During initial testing it seems giving an 'id' to the <div> tags has no effect on existing code, nor does the plugin_do.

Any inputs appreciated from the dev team.

Thanks guys
No tags attached.
Issue History
2010-10-13 20:36nicdevNew Issue
2010-10-13 20:42nicdevNote Added: 0003433
2010-10-16 12:55paulhNote Added: 0003445
2010-10-16 12:55paulhStatusnew => acknowledged
2010-12-19 14:10ivanTarget Version => 4.0
2011-02-14 13:21ivanTarget Version4.0 => 3.90beta1
2011-04-02 17:37paulhAssigned To => paulh
2011-04-02 17:37paulhStatusacknowledged => assigned
2011-04-02 18:06paulhNote Added: 0003692
2011-04-02 18:06paulhStatusassigned => resolved
2011-04-02 18:06paulhResolutionopen => fixed
2011-04-02 18:06paulhFixed in Version => Current GIT

Notes
(0003433)
nicdev   
2010-10-13 20:42   
Hi,

sorry i forgot to mention that the plugin do will also insert the html for the show/hide button ;)

Thanks
(0003445)
paulh   
2010-10-16 12:55   
this seems like a reasonable suggestion
(0003692)
paulh   
2011-04-02 18:06   
added in 1888083f53ee4231b84ec78a8b96ba0b575260e9