From b4cd23ec532be9baa3d0411aa1764d9daa4b9968 Mon Sep 17 00:00:00 2001 From: efalcy <efalcy@git-test.afi-sa.fr> Date: Tue, 18 Dec 2012 13:48:06 +0000 Subject: [PATCH] description en bas du feuilleteur --- amber/afi/js/AFI.deploy.js | 2 +- amber/afi/js/AFI.js | 6 +++--- amber/afi/st/AFI.st | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/amber/afi/js/AFI.deploy.js b/amber/afi/js/AFI.deploy.js index ea331c8ac92..d8997b5ec50 100644 --- a/amber/afi/js/AFI.deploy.js +++ b/amber/afi/js/AFI.deploy.js @@ -681,7 +681,7 @@ fn: function (html) { $2 = smalltalk.send($1, "_with_", [smalltalk.send(self, "_style", [])]); $3 = smalltalk.send(html, "_div", []); smalltalk.send($3, "_class_", [smalltalk.send(self, "_widgetClass", [])]); - $4 = smalltalk.send($3, "_with_", [function () {smalltalk.send(self, "_renderFullscreenControlsOn_", [html]);smalltalk.send(self, "_renderDownloadBookOn_", [html]);smalltalk.send(self, "_renderBookMenuOn_", [html]);smalltalk.send(self, "_renderZoomControlsOn_", [html]);smalltalk.send(self, "_renderPageDescriptionOn_", [html]);$5 = smalltalk.send(self, "_renderBookOn_", [html]);return $5;}]); + $4 = smalltalk.send($3, "_with_", [function () {smalltalk.send(self, "_renderFullscreenControlsOn_", [html]);smalltalk.send(self, "_renderDownloadBookOn_", [html]);smalltalk.send(self, "_renderBookMenuOn_", [html]);smalltalk.send(self, "_renderZoomControlsOn_", [html]);smalltalk.send(self, "_renderBookOn_", [html]);$5 = smalltalk.send(self, "_renderPageDescriptionOn_", [html]);return $5;}]); if (smalltalk.assert(self['@isFullscreen'])) { smalltalk.send(smalltalk.send("body", "_asJQuery", []), "_addClass_", ["fullscreen"]); } else { diff --git a/amber/afi/js/AFI.js b/amber/afi/js/AFI.js index 802953238ee..83dd6baf037 100644 --- a/amber/afi/js/AFI.js +++ b/amber/afi/js/AFI.js @@ -922,7 +922,7 @@ fn: function (html) { $2 = smalltalk.send($1, "_with_", [smalltalk.send(self, "_style", [])]); $3 = smalltalk.send(html, "_div", []); smalltalk.send($3, "_class_", [smalltalk.send(self, "_widgetClass", [])]); - $4 = smalltalk.send($3, "_with_", [function () {smalltalk.send(self, "_renderFullscreenControlsOn_", [html]);smalltalk.send(self, "_renderDownloadBookOn_", [html]);smalltalk.send(self, "_renderBookMenuOn_", [html]);smalltalk.send(self, "_renderZoomControlsOn_", [html]);smalltalk.send(self, "_renderPageDescriptionOn_", [html]);$5 = smalltalk.send(self, "_renderBookOn_", [html]);return $5;}]); + $4 = smalltalk.send($3, "_with_", [function () {smalltalk.send(self, "_renderFullscreenControlsOn_", [html]);smalltalk.send(self, "_renderDownloadBookOn_", [html]);smalltalk.send(self, "_renderBookMenuOn_", [html]);smalltalk.send(self, "_renderZoomControlsOn_", [html]);smalltalk.send(self, "_renderBookOn_", [html]);$5 = smalltalk.send(self, "_renderPageDescriptionOn_", [html]);return $5;}]); if (smalltalk.assert(self['@isFullscreen'])) { smalltalk.send(smalltalk.send("body", "_asJQuery", []), "_addClass_", ["fullscreen"]); } else { @@ -931,8 +931,8 @@ fn: function (html) { return self; }, args: ["html"], -source: "renderWidgetOn: html\x0a\x09html style\x0a\x09\x09type: 'text/css';\x0a\x09\x09with: self style.\x0a \x0a \x0a\x09html div\x0a\x09\x09class: self widgetClass; \x0a\x09\x09with: [\x09self \x0a renderFullscreenControlsOn: html;\x0a\x09\x09\x09\x09\x09renderDownloadBookOn: html;\x0a \x09renderBookMenuOn: html;\x0a renderZoomControlsOn: html;\x0a\x09\x09\x09\x09\x09renderPageDescriptionOn: html;\x0a \x09renderBookOn: html \x09].\x0a \x0a\x09isFullscreen \x0a\x09\x09ifTrue: ['body' asJQuery addClass: 'fullscreen'] \x0a\x09\x09ifFalse: ['body' asJQuery removeClass: 'fullscreen'].", -messageSends: ["type:", "style", "with:", "class:", "widgetClass", "div", "renderFullscreenControlsOn:", "renderDownloadBookOn:", "renderBookMenuOn:", "renderZoomControlsOn:", "renderPageDescriptionOn:", "renderBookOn:", "ifTrue:ifFalse:", "addClass:", "asJQuery", "removeClass:"], +source: "renderWidgetOn: html\x0a\x09html style\x0a\x09\x09type: 'text/css';\x0a\x09\x09with: self style.\x0a \x0a \x0a\x09html div\x0a\x09\x09class: self widgetClass; \x0a\x09\x09with: [\x09self \x0a renderFullscreenControlsOn: html;\x0a\x09\x09\x09\x09\x09renderDownloadBookOn: html;\x0a \x09renderBookMenuOn: html;\x0a renderZoomControlsOn: html;\x0a \x09renderBookOn: html;\x0a\x09\x09\x09\x09\x09renderPageDescriptionOn: html].\x0a \x0a\x09isFullscreen \x0a\x09\x09ifTrue: ['body' asJQuery addClass: 'fullscreen'] \x0a\x09\x09ifFalse: ['body' asJQuery removeClass: 'fullscreen'].", +messageSends: ["type:", "style", "with:", "class:", "widgetClass", "div", "renderFullscreenControlsOn:", "renderDownloadBookOn:", "renderBookMenuOn:", "renderZoomControlsOn:", "renderBookOn:", "renderPageDescriptionOn:", "ifTrue:ifFalse:", "addClass:", "asJQuery", "removeClass:"], referencedClasses: [] }), smalltalk.AbstractBookWidget); diff --git a/amber/afi/st/AFI.st b/amber/afi/st/AFI.st index 987678d9ca8..b4d49f4afba 100644 --- a/amber/afi/st/AFI.st +++ b/amber/afi/st/AFI.st @@ -744,8 +744,8 @@ renderWidgetOn: html renderDownloadBookOn: html; renderBookMenuOn: html; renderZoomControlsOn: html; - renderPageDescriptionOn: html; - renderBookOn: html ]. + renderBookOn: html; + renderPageDescriptionOn: html]. isFullscreen ifTrue: ['body' asJQuery addClass: 'fullscreen'] -- GitLab