Great, thanks, add_bookmark is working again.
Cheers -Terry
 
      From: Edward K. Ream <[email protected]>
 To: leo-editor <[email protected]> 
 Sent: Tuesday, October 4, 2016 4:45 PM
 Subject: Re: mod_http has been (partially) rewritten
   
On Tue, Oct 4, 2016 at 11:55 AM, 'Terry Brown' via leo-editor 
<[email protected]> wrote:

Traceback (most recent call last):
​[snip]​ 
    config.css,  # EKR: Add config.css to style.AttributeError: type object 
'config' has no attribute 'css'

​Fixed at 2ce6a29 by adding support for @data user_bookmark_stylesheet.​ 


However, rather than make sure config.css is defined (i.e. setting it to "" in 
@file mod_http.py-->class config), I'd suggest not injecting it into the HTML 
in add_bookmark(), seeing that's entirely different HTML than the HTML 
config.css is designed to style.

​
The new stylesheet is completely independent of the others, and it defaults to 
'', so the way I chose should be safe and flexible.

I haven't really tested the code.  Let me know if there are other problems.

EKR-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


   
 

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to