Class / interface diagram maps not clickable

Bug #492333 reported by James Knight
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
as2api
Fix Committed
Undecided
David Holroyd

Bug Description

The HTML output is incorrect, so the class diagram images don't relate to their maps correctly, and so aren't properly linked.

I've got a patch for you :)

Index: lib/output/html/core_pages.rb
===================================================================
--- lib/output/html/core_pages.rb (revision 381)
+++ lib/output/html/core_pages.rb (working copy)
@@ -688,7 +688,7 @@
    map = false
  end
  attr = {"src"=>"package-classes.png"}
- attr["usemap"] = "class_diagram" if map
+ attr["usemap"] = "#class_diagram" if map
         html_img(attr)
       end
     end
@@ -708,7 +708,7 @@
    map = false
  end
  attr = {"src"=>"package-interfaces.png"}
- attr["usemap"] = "interface_diagram" if map
+ attr["usemap"] = "#interface_diagram" if map
         html_img(attr)
       end
     end

Revision history for this message
James Knight (james-knight) wrote :
Revision history for this message
David Holroyd (dholroyd) wrote :

Patch applied, with thanks!

Changed in as2api:
assignee: nobody → David Holroyd (dave-badgers-in-foil)
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.