Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use a less generic name on the template.

  • Loading branch information...
commit fdc550d88b59d6a1b48b4c68b4251bd4bf8a4419 1 parent 2f105a8
Trond A Ekseth haste authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  oUF.xml
  2. +1 −1  ouf.lua
2  oUF.xml
View
@@ -28,7 +28,7 @@
<Script file='elements\readycheck.lua' />
<!-- Clique support -->
- <Button name="ClickCastUnitTemplate" virtual="true" inherits="SecureActionButtonTemplate,SecureHandlerEnterLeaveTemplate">
+ <Button name="oUF_ClickCastUnitTemplate" virtual="true" inherits="SecureActionButtonTemplate,SecureHandlerEnterLeaveTemplate">
<Attributes>
<Attribute name="_onenter" type="string" value="local snippet = self:GetAttribute('clickcast_onenter'); if snippet then self:Run(snippet) end"/>
<Attribute name="_onleave" type="string" value="local snippet = self:GetAttribute('clickcast_onleave'); if snippet then self:Run(snippet) end"/>
2  ouf.lua
View
@@ -693,7 +693,7 @@ do
function oUF:SpawnHeader(overrideName, template, visibility, ...)
if(not style) then return error("Unable to create frame. No styles have been registered.") end
- template = (template or 'SecureGroupHeaderTemplate') .. ',ClickCastUnitTemplate'
+ template = (template or 'SecureGroupHeaderTemplate') .. ',oUF_ClickCastUnitTemplate'
local name = overrideName or generateName(nil, ...)
local header = CreateFrame('Frame', name, UIParent, template)
Please sign in to comment.
Something went wrong with that request. Please try again.