How to use bootstrap popover ?

Thomas Heniart <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <CALPibtzYFzBFWn=BE+i3A2r8u1_wX9rM-v6MpYR4kaHudRff=Q@mail.gmail.com>
Hi guys,

I tried to use the bootstrap popover but unfortunately I can't make it work
and I don't know why

I work on a really simple example, just a component register with
JQDevelopmentLibrary and TBSDevelopmentLibrary.

The content of renderContentOn: is
        html script: 'initialize_popover()'.
html tbsButton
beDefault;
attributeAt: 'data-toggle' put: 'popover';
attributeAt: 'title' put: 'Popover test';
attributeAt: 'data-placement' put: 'right';
attributeAt: 'data-content' put: 'This is a test';
with: 'Button popover test'

And the js method initialize_popover() is define in script method of my
component with $("[data-toggle = 'popover']").popover()

And that's all

Then I load this little app, no error in the debugger but when I click on
my button, the popover doesn't appear

Maybe I'm missing something but I don't know what :/

_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.