chm@openerp.com
ee4b879536
[IMP] website: media editor: insert add button for image loader and fix try_remove don't remove image
...
bzr revid: chm@openerp.com-20140407074922-zri6j4u9sw52nkkw
2014-04-07 09:49:22 +02:00
chm@openerp.com
26d62c4e55
[IMP] website: media editor: add feedback when the user try to remove a picture
...
bzr revid: chm@openerp.com-20140407073247-davv0udxz5n5qx35
2014-04-07 09:32:47 +02:00
chm@openerp.com
583a47b7b9
[IMP] website: media editor: add embed video
...
bzr revid: chm@openerp.com-20140331135558-ulr1nzhwwvcnwswm
2014-03-31 15:55:58 +02:00
chm@openerp.com
e0d33ad3c5
[FIX] website editor: shop tour and media editor for field image
...
bzr revid: chm@openerp.com-20140331133340-vj67s9hlptum0h19
2014-03-31 15:33:40 +02:00
chm@openerp.com
880ac90e1b
[MERGE] from trunk
...
bzr revid: chm@openerp.com-20140331121654-jsdotezdyi9qwmeb
2014-03-31 14:16:54 +02:00
chm@openerp.com
655142b04b
[IMP] website: media editor: add search result for images
...
bzr revid: chm@openerp.com-20140331120906-0qqa40xbvek27z4j
2014-03-31 14:09:06 +02:00
chm@openerp.com
1a33fb64d5
[WIP] website: media editor
...
bzr revid: chm@openerp.com-20140328154715-alyj4kh33w6v8pgm
2014-03-28 16:47:15 +01:00
chm@openerp.com
31269ba52f
[IMP] website: media editor doubleclick for video and begin to use snippet builder
...
bzr revid: chm@openerp.com-20140328141619-x9okgixai2v5dekr
2014-03-28 15:16:19 +01:00
chm@openerp.com
b0625b1191
[IMP] website: add video media editor
...
bzr revid: chm@openerp.com-20140328104453-2faynhhc1wi5598l
2014-03-28 11:44:53 +01:00
chm@openerp.com
e289e23298
[WIP] website media editor
...
bzr revid: chm@openerp.com-20140327171417-nz2cd8tn2dmmljge
2014-03-27 18:14:17 +01:00
chm@openerp.com
c8d0175e61
[IMP] website media editor: change template
...
bzr revid: chm@openerp.com-20140327160324-yb1cwpsgqymxsf83
2014-03-27 17:03:24 +01:00
chm@openerp.com
c15e5b5163
[WIP] website media editor
...
bzr revid: chm@openerp.com-20140327105103-r4laze34bf0z62o2
2014-03-27 11:51:03 +01:00
chm@openerp.com
9bb510938f
[WIP] website: media editor for image
...
bzr revid: chm@openerp.com-20140326160701-6wf21suhkv4rimyw
2014-03-26 17:07:01 +01:00
chm@openerp.com
a7dc05bf6e
[WIP] website: add media editor template
...
bzr revid: chm@openerp.com-20140326155822-f4wascgyrm7ffeg8
2014-03-26 16:58:22 +01:00
Fabien Meghazi
eb5cbea318
[MERGE] upstream
...
bzr revid: fme@openerp.com-20140326152433-vegu5tuvr8vc1s8v
2014-03-26 16:24:33 +01:00
chm@openerp.com
368bf4dff6
[FIX] website editor: color of style button
...
bzr revid: chm@openerp.com-20140326143655-33sm4i67zjn03o2c
2014-03-26 15:36:55 +01:00
chm@openerp.com
aa63c56462
[IMP] website editor: add style button on image
...
bzr revid: chm@openerp.com-20140326141629-diz4rk0789no7yyl
2014-03-26 15:16:29 +01:00
Fabien Meghazi
0fe55dddc1
[IMP] Added a mimetype field in ir.attachment
...
bzr revid: fme@openerp.com-20140325160413-jvxjii6rbqcrjxor
2014-03-25 17:04:13 +01:00
Christophe Simonis
d93b79e6f4
[MERGE] forward port of branch saas-3 up to revid 9345 dle@openerp.com-20140324110349-e82t1bmmtjqbl85k
...
bzr revid: chs@openerp.com-20140324133811-4az1kvbznd26seow
2014-03-24 14:38:11 +01:00
Xavier Morel
aa9387e845
[FIX] don't mark view sections as dirty just because the snippets thing has inserted drop zones in it
...
bzr revid: xmo@openerp.com-20140324101850-el3cfs0x4uln3u7v
2014-03-24 11:18:50 +01:00
Xavier Morel
b1cd54f5e9
[FIX] CSS of link style pane
...
bzr revid: xmo@openerp.com-20140313093822-kpkufmmya0e21my2
2014-03-13 10:38:22 +01:00
Xavier Morel
cd0434fb2a
[IMP] context-sensitivity of toolbar commands (kinda, attempted)
...
bzr revid: xmo@openerp.com-20140313093707-gpaz7gmsd5zt2ck5
2014-03-13 10:37:07 +01:00
Xavier Morel
0308b7968c
[IMP] don't allow HTML formatting in non-HTML fields
...
bzr revid: xmo@openerp.com-20140313093202-02s734ucabvkckli
2014-03-13 10:32:02 +01:00
Xavier Morel
8ad325614d
[FIX] sprurious widgetification and editability of icon elements
...
* tighten widget match: don't match elements with .fa which are also "view
section" roots (~ editing hosts) as the classes themselves out not be
editable and the result will thus be odd
* correspondingly, only associate the icon "change" button to instances of the
``icons`` widget, other elements bearing ``.fa`` are not editable and should
be excluded.
bzr revid: xmo@openerp.com-20140312141910-a2apy22qj4wwxsne
2014-03-12 15:19:10 +01:00
chm@openerp.com
3ceefde489
[FIX] website editor: check if link and fa is editable and display change button
...
bzr revid: chm@openerp.com-20140311130852-3ft0v1mc9ht1any6
2014-03-11 14:08:52 +01:00
chm@openerp.com
8df09c6c6a
[FIX] website: snippet: display image editor button in snippet. Don't remove overlay (editor is used to clean snippets for save view)
...
bzr revid: chm@openerp.com-20140305132422-sfmlq8giol53rqjm
2014-03-05 14:24:22 +01:00
Xavier Morel
e78a3b18cc
[ADD] tentative removal of attachments
...
Attachments ought be removed only if they are not used in an existing page/web
view.
Theoretically this could be set directly in unlink(), but:
* that would make a nice error message significantly harder
* the expenses of performing a text search in all view archs would be a bit expensive
Notes:
* the views set could be reduced to only "web" views
* the search is likely sensible to false negatives e.g. different order of
query parameters. It *will* remove images still being used.
bzr revid: xmo@openerp.com-20140304110716-u14w6uo8fbkfa42i
2014-03-04 12:07:16 +01:00
Xavier Morel
9d00835b2c
[FIX] order of attachments in 'existing images' sub-dialog: put last uploaded first
...
bzr revid: xmo@openerp.com-20140303135426-evouhwgjtwku3v2b
2014-03-03 14:54:26 +01:00
Christophe Matthieu
d96cf8c54c
[FIX] website: editor: can not edit a label in edit mode, must prevent the default click
...
bzr revid: chm@openerp.com-20140227140043-8iko13704pci9823
2014-02-27 15:00:43 +01:00
Christophe Matthieu
5f70ca61b6
[FIX] website: editor: pointer-events:none for ie doesn't work (because ie). Change snippet overlay to fix this ie bug
...
bzr revid: chm@openerp.com-20140227111038-0hodseqys6pnz841
2014-02-27 12:10:38 +01:00
Christophe Matthieu
cfeac71d6a
[FIX] website: editor: pointer-events:none for ie doesn't work (because ie). Change snippet overlay to fix this ie bug
...
bzr revid: chm@openerp.com-20140226175558-2gyix2zgdawf87yz
2014-02-26 18:55:58 +01:00
Xavier Morel
30a99471e2
[FIX] Webkit created spurious spans with inline style when joining lines
...
Post process to manually unwrap node if it only has purely looks-oriented CSS
properties set inline.
ref:
https://code.google.com/p/chromium/issues/detail?id=226941
https://bugs.webkit.org/show_bug.cgi?id=114791
http://dev.ckeditor.com/ticket/9998
http://www.neotericdesign.com/blog/2013/3/working-around-chrome-s-contenteditable-span-bug
bzr revid: xmo@openerp.com-20140226152004-9ybbki1op80lpxin
2014-02-26 16:20:04 +01:00
Xavier Morel
750b9f405c
[FIX] tags edition breakage in website_event_track
...
* remove some nodes from the $editables set, ``li`` really does not like being
widgetified. Remove a few others just in case
* split fa outside of li to make it safely (ish) editable
* simplify upcast function for icons cke widget
bzr revid: xmo@openerp.com-20140225131228-2m75itgi4zbj5xfh
2014-02-25 14:12:28 +01:00
Christophe Matthieu
a09b0db51d
[FIX] website: Select some text > Click on the link button > Select Page textfield and start typing (e.g. comm) > There is a lot of noise here; Dsiplaying create page for existing page
...
bzr revid: odo@openerp.com-20140219105502-jg8f2i1gpz5vdarf
2014-02-19 11:55:02 +01:00
Christophe Matthieu
42634d2a0d
[FIX] website rte: Select some text > Click on the link button > Start typing > The focus is still on your text, you loose what you selected
...
bzr revid: odo@openerp.com-20140219092402-bf8vkin5q07rv9bf
2014-02-19 10:24:02 +01:00
Christophe Matthieu
1c4f859f1f
[FIX] website: jQuery (sizcache) trigger a change id in the page, the observer set as dirty all template. All template are saved when the user click on save button.
...
bzr revid: chm@openerp.com-20140218160144-5drlsnz4plyb9tqx
2014-02-18 17:01:44 +01:00
Xavier Morel
e95eb140a7
[CHG] website: fp wants image 'change' buttons to be btn-sm
...
bzr revid: xmo@openerp.com-20140210130504-hejvay436emh7f36
2014-02-10 14:05:04 +01:00
Christophe Matthieu
c254b7ae2c
[FIX] website: enable test tour; + translate; + fixes
...
bzr revid: chm@openerp.com-20140207155113-honsvx545awa3rcp
2014-02-07 16:51:13 +01:00
Xavier Morel
6900662b54
[FIX] page creation broken because what is grep
...
bzr revid: xmo@openerp.com-20140207145149-fem1wnr0t10rcgsn
2014-02-07 15:51:49 +01:00
Christophe Matthieu
d819d494f1
[IMP] website: add debugger template used to create nex tours/tests (display in customize menu in debug mode)
...
bzr revid: chm@openerp.com-20140206135036-geq8fubtz39pxp20
2014-02-06 14:50:36 +01:00
Xavier Morel
c68c5837aa
[FIX] avoid blowing up editor if run on non-updated editor_head template without a placeholder edition navbar
...
bzr revid: xmo@openerp.com-20140205103623-bk038voq3f8zj9vm
2014-02-05 11:36:23 +01:00
Xavier Morel
7d1f7ee10a
[IMP] handling of overly large images in website image upload
...
bzr revid: xmo@openerp.com-20140204165823-q05aoq83q28b2hhg
2014-02-04 17:58:23 +01:00
Xavier Morel
18d9e91394
[IMP] make editor bar appear faster to avoid impression of slowness and reflow
...
bzr revid: xmo@openerp.com-20140204153616-swho76l8v3s4p1dq
2014-02-04 16:36:16 +01:00
Xavier Morel
7c12d5d200
[IMP] clearer indication that images are being up/downloaded
...
bzr revid: xmo@openerp.com-20140203160331-04h1erlunelb9kkn
2014-02-03 17:03:31 +01:00
Christophe Matthieu
110f3dd910
[IMP] website tour: refactoring: Check dom insead of trigger
...
bzr revid: chm@openerp.com-20140130210001-kiecx5nde2um3ni1
2014-01-30 22:00:01 +01:00
Antony Lesuisse
7c90d3afa5
[FIX] website page creation
...
bzr revid: al@openerp.com-20140128140017-r8yy8tzsvo4y0e92
2014-01-28 15:00:17 +01:00
Christophe Matthieu
b598d52020
[IMP] website: res_config
...
bzr revid: chm@openerp.com-20140127180059-sfwyqf57eixr8dxq
2014-01-27 19:00:59 +01:00
Christophe Matthieu
b1462a9d30
[IMP] website: res_config with wizard
...
bzr revid: chm@openerp.com-20140127173816-uldoee71h7ntpyhl
2014-01-27 18:38:16 +01:00
ddm@openerp.com
e42d639c87
[FIX] indentation
...
bzr revid: ddm@openerp.com-20140123172714-0fumk1t7hjoz1506
2014-01-23 18:27:14 +01:00
ddm@openerp.com
0aba10073e
[IMP] add 'Website Settings' to customize menu
...
bzr revid: ddm@openerp.com-20140123172543-3k7w0221ssjsserr
2014-01-23 18:25:43 +01:00
Christophe Matthieu
6979de83cb
[FIX] website snippet vs widget on drop
...
bzr revid: chm@openerp.com-20140122132159-efse87uk30t0tehv
2014-01-22 14:21:59 +01:00
Xavier Morel
c35ac33cf1
[IMP] don't lose link label/text if crap element with no href
...
bzr revid: xmo@openerp.com-20140121151310-va8e20avgvzy0anz
2014-01-21 16:13:10 +01:00
Xavier Morel
bf262a338e
[ADD] hover edit button on FA glyphs, rename 'Edit x' to 'Change'
...
bzr revid: xmo@openerp.com-20140121150843-fm2uqxctlejlwe5c
2014-01-21 16:08:43 +01:00
Xavier Morel
a6ad36ef89
[ADD] attempt to correctly initialize ckeditor widgets (fontawesome icon things at the moment) within a dropped snippet
...
bzr revid: xmo@openerp.com-20140121131841-u0qzlk1ytng3af2h
2014-01-21 14:18:41 +01:00
Christophe Matthieu
4ff1af4d01
[FIX] website: display or not editor edit button; website_sale: test tour; website: contact qweb widget
...
bzr revid: chm@openerp.com-20140121123912-0ya4ziusj09efti3
2014-01-21 13:39:12 +01:00
Xavier Morel
51f6977f39
[IMP] icons selection dialog
...
remove fixed size checkbox
add fayt for icons (by name)
bzr revid: xmo@openerp.com-20140121100408-64e32iio9r77yx9m
2014-01-21 11:04:08 +01:00
Xavier Morel
ca02581993
[IMP] replace icon size select by selectable multi-size preview
...
bzr revid: xmo@openerp.com-20140120162604-yoyg21bf1z306hwg
2014-01-20 17:26:04 +01:00
Xavier Morel
501e88d3eb
[IMP] replace select2 by grid for icons selection
...
bzr revid: xmo@openerp.com-20140120153610-xktkxjfbpl59xnpz
2014-01-20 16:36:10 +01:00
Xavier Morel
620652c420
[FIX] excessive horizontal and vertical offsetting of edition button on images in webkit browsers
...
Manually adding margins to offsets was necessary due to
http://bugs.jquery.com/ticket/5445#comment:6 and the original code
using $.fn.position().
When edition buttons were moved to being children of the body (rather
than siblings of the image), $.fn.position() was replaced by
$.fn.offset() (to get the position of the image/link relative to the
body/page toplevel), the adjustment (addition of marginLeft/marginTop)
was left in, even though #5445 does not apply to $.fn.offset().
bzr revid: xmo@openerp.com-20140120144610-nu8q2naemzzhekv2
2014-01-20 15:46:10 +01:00
Christophe Matthieu
4ff74cbf99
[IMP] website: editor menus is displayed in function of users groups (event, blog...)
...
bzr revid: chm@openerp.com-20140116180535-c736cuxn12qghiea
2014-01-16 19:05:35 +01:00
Xavier Morel
e2fede3fe7
[ADD] dialog for fontawesome glyph manipulation
...
bzr revid: xmo@openerp.com-20140116094747-w1uey27l39fy66zc
2014-01-16 10:47:47 +01:00
Christophe Matthieu
bcef910f84
[FIX] website editor: add attributeEditable attribute to edit an editing host
...
bzr revid: chm@openerp.com-20140115141756-4ixq240p5z1snt9h
2014-01-15 15:17:56 +01:00
Fabien Meghazi
b180d69808
[IMP] Better events naming for EditorBar height related stuff
...
bzr revid: fme@openerp.com-20131218201619-vja6dv0sctokep3b
2013-12-18 21:16:19 +01:00
Fabien Meghazi
9abcc28884
[IMP] Set EditorBar height programmatically
...
bzr revid: fme@openerp.com-20131218173915-ds5jeyfypbaefrqf
2013-12-18 18:39:15 +01:00
Xavier Morel
128f1e1281
[FIX] odd behavior in cke widgets
...
in "block-level" widgets (divs), when hitting [return] instead of
adding a newline in the widget a new bit of widget may be added. This
is caused by an incompability between widgets and the enterKey plugin.
Remove enterKey, behavior on [Return] is slightly worse (always
inserts br) but widgets don't get broken.
See https://dev.ckeditor.com/ticket/11326 for issue in upstream.
bzr revid: xmo@openerp.com-20131217153751-7fbwp34o8kac9x94
2013-12-17 16:37:51 +01:00
Xavier Morel
98c4e6b3d4
[IMP] editability criteria for links and images
...
if a link or image is an editing host (has @contenteditable=true), its
body is editable *but* its attributes should not be considered
editable: if the attributes come from a t-att-*, @contenteditable will
be set on the node itself.
such elements should be ignored by the link & image dialog handling
thing, as editing their attributes has undesirable effects.
bzr revid: xmo@openerp.com-20131216134424-fdqs03i9pidbmaqt
2013-12-16 14:44:24 +01:00
Xavier Morel
bf876739fe
[REM] undo RTE button by fp demand, apparently unseen & unused by users
...
bzr revid: xmo@openerp.com-20131213092025-thlltl0xjxq0noyp
2013-12-13 10:20:25 +01:00
Christophe Matthieu
083e88167e
[IMP] website: save (button) or discard (link), on left in modal
...
bzr revid: chm@openerp.com-20131211163305-5qwltn11k2ph179o
2013-12-11 17:33:05 +01:00
Xavier Morel
1049e1c859
[ADD] saving and edition of oddly formatted fields in RTE
...
bzr revid: xmo@openerp.com-20131205114245-2p57t0z182r8oeyv
2013-12-05 12:42:45 +01:00
Xavier Morel
a1ecb6923b
[ADD] saving of oddly localized/formatted stuff
...
bzr revid: xmo@openerp.com-20131205113908-9tr575ejn7hanhi7
2013-12-05 12:39:08 +01:00
Xavier Morel
04045c3699
[IMP] use ckeditor 4.3 final feature to disable widget draghandle entirely instead of relying on CSS
...
bzr revid: xmo@openerp.com-20131204162805-rikk5kbbx304tol6
2013-12-04 17:28:05 +01:00
Christophe Matthieu
b1765e2834
[IMP] website: slip layout
...
bzr revid: chm@openerp.com-20131204161754-5dq4bt7gghnk878c
2013-12-04 17:17:54 +01:00
Xavier Morel
b79e56d1af
[IMP] clarity of links edition
...
According to user tests, users have a hard time finding out how to
edit links. Thus, add same system as image edition (a small button
appearing when hovering the element).
Extract and unify these two to avoid redundancies between handlings as
they are broadly similar (only details such as label, positioning and
size of button relative to the element being hovered really change,
the lifecycle itself is the same).
The main setup still isn't very clean, there might be a better way to
do it.
bzr revid: xmo@openerp.com-20131204105212-u0a49nbvwilgtfst
2013-12-04 11:52:12 +01:00
Fabien Meghazi
31381c1469
[FIX] Disable form submition in editable mode
...
bzr revid: fme@openerp.com-20131204104225-2s3jp325731mqd92
2013-12-04 11:42:25 +01:00
Fabien Meghazi
49f357da54
[FIX] rte crashes when inserting new lines
...
We deal with text nodes in this case
bzr revid: fme@openerp.com-20131203161630-f34r1nrqcb4m6jge
2013-12-03 17:16:30 +01:00
Christophe Matthieu
abf5c88510
[FIX] website: customize: apply fontawesome to icons
...
bzr revid: chm@openerp.com-20131203155536-de2htsq0rwv6oepz
2013-12-03 16:55:36 +01:00
Xavier Morel
9d9d3f207e
[IMP] cancellation of RTE
...
* rename Cancel to Discard for clarity (user test)
* add intermediate dialog in case of mis-click, use 'danger' button
style to clearly indicate this is a destructive operation
bzr revid: xmo@openerp.com-20131203111323-9mx7aazfpsybe718
2013-12-03 12:13:23 +01:00
Xavier Morel
d53a289c5b
[REM] leftover thing
...
bzr revid: xmo@openerp.com-20131202113825-c5jbqs17nihip81t
2013-12-02 12:38:25 +01:00
Xavier Morel
fdfa7362ac
[FIX] image fields getting overly dirty
...
the addition and removal of the [edit] button on hover would be caught
by the mutation observer and mark the image field as dirty, even when
it had not actually been altered, leaving to spurious save events for
said field.
bzr revid: xmo@openerp.com-20131202113304-xpgu43se5er1ho7y
2013-12-02 12:33:04 +01:00
Christophe Matthieu
9a399dfb94
[FIX] website snippets: quote, quotes slider, parallax
...
bzr revid: chm@openerp.com-20131129160045-527o2i6unyyymr6e
2013-11-29 17:00:45 +01:00
Xavier Morel
44af6d1e09
[IMP] significantly improve handling of trying to create a new page which already exists
...
# Through the menu
Rather than output a generic error (500 due to an IntegrityError),
return a templated 409 letting the user either visit the
page-which-already-exists-with-the-name-he'd-picked or open the page
creation dialog again for a second round.
An alternative would be to promote the website.prompt use to
full-blown dialog as a result of selecting "New Page" and handle the
"page already exists" case without even closing the dialog.
# Through the link dialog
Added an RPC call to check if a page already exists (essentially a
cheaper version of opening /page/whatever and checking whether it's a
200 over JSON-RPC), if the page matching the completion term already
exists, do *not* add the choice of creating the page, only provide
completions from existing pages.
bzr revid: xmo@openerp.com-20131126160148-wrk4zvz9istscwa0
2013-11-26 17:01:48 +01:00
Xavier Morel
3731d33852
[FIX] don't perform page creation when no name was provided
...
bzr revid: xmo@openerp.com-20131126124739-djk6nbifyo087bmz
2013-11-26 13:47:39 +01:00
Xavier Morel
854e453958
[CHG] remove opacity changes on image hover
...
bzr revid: xmo@openerp.com-20131126092339-7wqx54t8iuvy8e9a
2013-11-26 10:23:39 +01:00
Xavier Morel
b05db3495c
[IMP] in crawler testing, indicate at which page the failed url was found
...
bzr revid: xmo@openerp.com-20131125120548-0s7xnhszd48e1u9v
2013-11-25 13:05:48 +01:00
Xavier Morel
4679bfd283
[IMP] lower completion trigger threshold to 1
...
could be removed entirely, but not sure users would realize there are plenty more urls to look for...
bzr revid: xmo@openerp.com-20131125102228-igkzfsh50y1ytwef
2013-11-25 11:22:28 +01:00
Xavier Morel
52b8226a83
[FIX] on completion error, tell user there are no results
...
not sure whether and how an error could/should be reported to the
user. For now, it's automatically logged into the console.
bzr revid: xmo@openerp.com-20131125101819-u2akhr16bd5kcsmf
2013-11-25 11:18:19 +01:00
Xavier Morel
53793703de
[ADD] dropdown for link style
...
bzr revid: xmo@openerp.com-20131122151124-1n7cnwldm3ej6wz7
2013-11-22 16:11:24 +01:00
Xavier Morel
264fe7d98b
[ADD] small transparency when hovering editable images, so [Edit] button stands out more
...
bzr revid: xmo@openerp.com-20131122102322-s776o3f80bku3f4a
2013-11-22 11:23:22 +01:00
Xavier Morel
1f2a40e3f7
[FIX] horizontal centering of edition button on images centered with margin: 0 auto in webkit-based browsers
...
bzr revid: xmo@openerp.com-20131122101154-fsae9uz33smy2ja9
2013-11-22 11:11:54 +01:00
Xavier Morel
233e460b52
[FIX] forgot to tell ckeditor not to load removed bootstrap combo plugin
...
bzr revid: xmo@openerp.com-20131121160516-a29x498ode34p1ml
2013-11-21 17:05:16 +01:00
Xavier Morel
32147fbffc
[REM] bootstrap link configuration combo, it has served its testing purposes
...
bzr revid: xmo@openerp.com-20131121154501-vrs26caromm6ebgb
2013-11-21 16:45:01 +01:00
Xavier Morel
fee8cb0fff
[FIX] reimplement [Edit] button on images
...
Button implementation turned out to be crap:
* Didn't work at all in Firefox (!)
* Unreliable in webkit, some types of image selection wouldn't
correctly activate the button
->
* changed RTEImageDialog to take an (optional) image element, used as
the "source element" if provided. This allows greater reliability
for events which may leave selection in debatable or variable
(across browsers) state
* setup and teardown button on hover, using selection triggered issues
with oe_overlay thing where e.g. the first click on the button would
work but the second one would not (it'd be intercepted by the
overlay as far as I can tell).
This also saves a click for user, they will see the [Edit] button
immediately when putting the cursor over the image.
bzr revid: xmo@openerp.com-20131121110748-s5e2ne3etpzwi2a6
2013-11-21 12:07:48 +01:00
Christophe Matthieu
6b10be15b2
[IMP] website snippet: add group for styles snippets, add custom picture with style snippet, mouseover and mouseout preview, fix dark css class in demo data
...
bzr revid: chm@openerp.com-20131120115250-etqv5ofqguze0zsj
2013-11-20 12:52:50 +01:00
Xavier Morel
fd02a389e9
[REM] apparently unnecessary icons
...
bzr revid: xmo@openerp.com-20131120091147-4vshzojq6mwhvice
2013-11-20 10:11:47 +01:00
Christophe Matthieu
5e7a8a957c
[IMP] website editor: better rendering of the popover when failure write raise by except_osv.
...
bzr revid: chm@openerp.com-20131119143259-vm7o3vq79358h56w
2013-11-19 15:32:59 +01:00
Christophe Matthieu
8054696a43
[FIX] website editor for IE
...
bzr revid: chm@openerp.com-20131119135704-rnva3skoh55h3eti
2013-11-19 14:57:04 +01:00
Xavier Morel
b6be7b87c6
[IMP] add img-responsive to images generated via dialog
...
avoids having the image end up larger than its container
bzr revid: xmo@openerp.com-20131119131113-9010p4tubk1yz10s
2013-11-19 14:11:13 +01:00
Xavier Morel
ba2ee4e287
[FIX] cleanup image edition button on editor save
...
bzr revid: xmo@openerp.com-20131119125520-qpts34qbx1oofdc1
2013-11-19 13:55:20 +01:00
Fabien Meghazi
bb0badbf40
[IMP] Simplify js_link2post event
...
bzr revid: fme@openerp.com-20131119110612-uc4j1l6xexrt9fyt
2013-11-19 12:06:12 +01:00
Xavier Morel
5723b1588e
[MERGE] from trunk
...
bzr revid: xmo@openerp.com-20131119102552-f8d03meddylwseyr
2013-11-19 11:25:52 +01:00