On 04/10/2010 09:50 PM, jvelociter (SVN) wrote:
> Author: jvelociter
> Date: 2010-04-10 21:50:05 +0200 (Sat, 10 Apr 2010)
> New Revision: 28225
>
> Modified:
>     platform/web/trunk/standard/src/main/webapp/templates/macros.vm
> Log:
> [minor] removed inline style when using hidden livetable columns
>
>
> Modified: platform/web/trunk/standard/src/main/webapp/templates/macros.vm
> ===================================================================
> --- platform/web/trunk/standard/src/main/webapp/templates/macros.vm   
> 2010-04-10 19:42:49 UTC (rev 28224)
> +++ platform/web/trunk/standard/src/main/webapp/templates/macros.vm   
> 2010-04-10 19:50:05 UTC (rev 28225)
> @@ -1613,7 +1613,7 @@
>                   #set($displayName = $colname)
>                 #end
>                 #if($colname != '_actions' || $hasAdmin)
> -<th class="xwiki-livetable-display-header-text #if($isSortable)sortable 
> #if($colname == $selectedColumn)selected $defaultOrder#else asc#end#end" 
> #if("$!colprop.type"=="hidden")style="display: none"#end scope="col">
> +<th class="xwiki-livetable-display-header-text #if($isSortable)sortable 
> #if($colname == $selectedColumn)selected $defaultOrder#else asc#end#end" 
> #if("$!colprop.type"=="hidden")class="hidden"#end scope="col">

Invalid, now you have two class attributes.

>                   #if($isSortable)<a rel="${colname}">#end
>                   #if($isFilterable&&  
> ("$!colprop.type"=="text"||"$!colprop.type"=="number"))<label 
> for="xwiki-livetable-${divid}-filter-${velocityCount}">#end
>                   $displayName


-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to