Hi Folks,
Please see
https://github.com/apache/incubator-usergrid/pull/44
and
https://issues.apache.org/jira/browse/USERGRID-207
Thanks
Lewis


On Tue, Aug 12, 2014 at 10:43 PM, Lewis John Mcgibbney <
lewis.mcgibb...@gmail.com> wrote:

> I am going to fix this right now... but I actually feel that this must be
> a bug in Angular.
> I can't believe that I am 'fixing' an HTML file which contains a
> synatactically valid and legal HTML comment!!!
> PR coming up folks.
> Lewis
>
>
> On Tue, Aug 12, 2014 at 2:05 PM, Shawn Feldman <shawn.feld...@gmail.com>
> wrote:
>
>> Thanks craig. Looks like a commit came in without a PR:(.
>>
>> Lewis, it looks like your commit broke the portal, can you resubmit with
>> the headers under the root element?
>>
>> -shawn
>>
>>
>> On Tue, Aug 12, 2014 at 12:23 PM, Charles Craig <ccrai...@gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> I tried using Usergrid for the first time today and was unable to get
>>> the buttons in the admin portal to work. I noticed that Angular was
>>> throwing an error and also provided a link for more information (
>>> https://docs.angularjs.org/error/$compile/tplrt?p0=orgMenu&p1=menus%2ForgMenu.html
>>> ).
>>>
>>> Apparently, it does not like the commit from 4 days ago, “Add license
>>> headers to ALL HTML files in Usergrid” ( Example:
>>> https://github.com/apache/incubator-usergrid/blob/master/portal/js/menus/orgMenu.html
>>> ), because this adds a second element to the root level of template. I
>>> removed the html comments from all of the templates locally and things
>>> started working as they should.
>>>
>>> I would imagine you need that license in those files, though, so simply
>>> removing them like I did is not acceptable. I was wondering if wrapping the
>>> comment and the actual template code in yet another element would be a
>>> viable solution?
>>>
>>> This:
>>>
>>> <!-- comment -->
>>> <ul>…</ul>
>>>
>>> Would become:
>>>
>>> <div>
>>>         <!-- comment -->
>>>         <ul>…</ul>
>>> </div>
>>>
>>> -charles
>>>
>>>
>>
>
>
> --
> *Lewis*
>



-- 
*Lewis*

Reply via email to