Commit cbc62f87 authored by Vincent Bechu's avatar Vincent Bechu

[erp5_web_editor_svgedit] Fix manifest

parent 4a6de9e8
...@@ -50,7 +50,7 @@ svgEditor.setConfig({ ...@@ -50,7 +50,7 @@ svgEditor.setConfig({
// EXTENSION CONFIG // EXTENSION CONFIG
svgEditor.setConfig({ svgEditor.setConfig({
extensions: [ extensions: [
// 'ext-overview_window.js', 'ext-markers.js', 'ext-connector.js', 'ext-eyedropper.js', 'ext-shapes.js', 'ext-imagelib.js', 'ext-grid.js', 'ext-polygon.js', 'ext-star.js', 'ext-panning.js', 'ext-storage.js' 'ext-overview_window.js', 'ext-markers.js', 'ext-connector.js', 'ext-eyedropper.js', 'ext-shapes.js', 'ext-imagelib.js', 'ext-grid.js', 'ext-polygon.js', 'ext-star.js', 'ext-panning.js'
] ]
// , noDefaultExtensions: false, // noDefaultExtensions can only be meaningfully used in config.js or in the URL // , noDefaultExtensions: false, // noDefaultExtensions can only be meaningfully used in config.js or in the URL
}); });
...@@ -74,7 +74,7 @@ svgEditor.setConfig({ ...@@ -74,7 +74,7 @@ svgEditor.setConfig({
// exportWindowType: 'new', // 'same' // exportWindowType: 'new', // 'same'
// wireframe: false, // wireframe: false,
// showlayers: false, // showlayers: false,
// no_save_warning: false, no_save_warning: true,
// PATH CONFIGURATION // PATH CONFIGURATION
// imgPath: 'images/', // imgPath: 'images/',
// langPath: 'locale/', // langPath: 'locale/',
...@@ -98,8 +98,8 @@ svgEditor.setConfig({ ...@@ -98,8 +98,8 @@ svgEditor.setConfig({
// EXTENSION-RELATED (GRID) // EXTENSION-RELATED (GRID)
// showGrid: false, // Set by ext-grid.js // showGrid: false, // Set by ext-grid.js
// EXTENSION-RELATED (STORAGE) // EXTENSION-RELATED (STORAGE)
// noStorageOnLoad: false, // Some interaction with ext-storage.js; prevent even the loading of previously saved local storage noStorageOnLoad: true, // Some interaction with ext-storage.js; prevent even the loading of previously saved local storage
// forceStorage: false, // Some interaction with ext-storage.js; strongly discouraged from modification as it bypasses user privacy by preventing them from choosing whether to keep local storage or not forceStorage: false // Some interaction with ext-storage.js; strongly discouraged from modification as it bypasses user privacy by preventing them from choosing whether to keep local storage or not
// emptyStorageOnDecline: true, // Used by ext-storage.js; empty any prior storage if the user declines to store // emptyStorageOnDecline: true, // Used by ext-storage.js; empty any prior storage if the user declines to store
}); });
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>__name__</string> </key> <key> <string>__name__</string> </key>
<value> <string>config-sample.js</string> </value> <value> <string>config.js</string> </value>
</item> </item>
<item> <item>
<key> <string>content_type</string> </key> <key> <string>content_type</string> </key>
......
CACHE MANIFEST CACHE MANIFEST
svg-editor.html # generated on Fri, 09 Jun 2016 11:45:33 +0000
images/logo.png # XXX + fonts
jgraduate/css/jPicker.css # images/ajax-loader.gif
CACHE:
jgraduate/jquery.jgraduate.min.js
jgraduate/LICENSE
jgraduate/images/mappoint.gif
jgraduate/images/preview-opacity.png
jgraduate/images/NoColor.png
jgraduate/images/Maps.png
jgraduate/images/bar-opacity.png
jgraduate/images/Bars.png
jgraduate/images/map-opacity.png
jgraduate/images/mappoint_c.png
jgraduate/images/rangearrows2.gif
jgraduate/images/AlphaBar.png
jgraduate/images/picker.gif
jgraduate/images/mappoint_f.png
jgraduate/images/rangearrows.gif
jgraduate/css/jgraduate.css jgraduate/css/jgraduate.css
svg-editor.css jgraduate/css/jPicker.css
spinbtn/JQuerySpinBtn.css jgraduate/README
jquery.js
config.js
custom.css
js-hotkeys/jquery.hotkeys.min.js
jquery-ui/jquery-ui-1.8.17.custom.min.js
jgraduate/jpicker.min.js jgraduate/jpicker.min.js
jgraduate/jquery.jgraduate.min.js jgraduate/jpicker.js
jgraduate/jquery.jgraduate.js
sanitize.js
svg-editor.html
units.js
coords.js
embedapi.html
jquery-ui/jquery-ui-1.8.custom.min.js
jquery-ui/jquery-ui-1.8.17.custom.min.js
pathseg.js
jquerybbq/jquery.bbq.min.js
spinbtn/JQuerySpinBtn.css
spinbtn/JQuerySpinBtn.js spinbtn/JQuerySpinBtn.js
spinbtn/spinbtn_updn.png
spinbtn/JQuerySpinBtn.min.js
extensions/grid-icon.xml
extensions/ext-server_moinsave.js
extensions/ext-overview_window.js
extensions/polygon-icons.svg
extensions/ext-helloworld.js
extensions/eyedropper-icon.xml
extensions/ext-markers.js
extensions/ext-shapes.js
extensions/foreignobject-icons.xml
extensions/imagelib/index.html
extensions/imagelib/smiley.svg
extensions/fileopen.php
extensions/webappfind-icon.svg
extensions/ext-star.js
extensions/closepath_icons.svg
extensions/star-icons.svg
extensions/eyedropper.png
extensions/savefile.php
extensions/markers-icons.xml
extensions/helloworld-icon.xml
extensions/ext-arrows.js
extensions/mathjax-icons.xml
extensions/ext-connector.js
extensions/ext-php_savefile.js
extensions/ext-storage.js
extensions/ext-closepath.js
extensions/ext-foreignobject.js
extensions/ext-shapes.xml
extensions/shapelib/arrow.json
extensions/shapelib/raphael_1.json
extensions/shapelib/raphael.txt
extensions/shapelib/electronics.json
extensions/shapelib/raphael_2.json
extensions/shapelib/game.json
extensions/shapelib/misc.json
extensions/shapelib/animal.json
extensions/shapelib/dialog_balloon.json
extensions/shapelib/math.json
extensions/shapelib/music.json
extensions/shapelib/flowchart.json
extensions/shapelib/symbol.json
extensions/shapelib/object.json
extensions/ext-imagelib.js
extensions/ext-panning.xml
extensions/ext-imagelib.xml
extensions/ext-grid.js
extensions/ext-panning.js
extensions/filesave.php
extensions/ext-mathjax.js
extensions/ext-server_opensave.js
extensions/allowedMimeTypes.php
extensions/ext-polygon.js
extensions/ext-eyedropper.js
extensions/ext-xdomain-messaging.js
extensions/ext-webappfind.js
touch.js
svgcanvas.js svgcanvas.js
svg-editor.js math.js
images/align-bottom.png contextmenu.js
images/align-center.png images/text.svg
images/align-left.png images/move_bottom.png
images/wave.png
images/square.png
images/align-middle.png images/align-middle.png
images/align-right.png
images/align-top.png
images/bold.png
images/cancel.png
images/circle.png
images/clear.png
images/clone.png
images/copy.png images/copy.png
images/cut.png
images/delete.png
images/document-properties.png
images/dropdown.gif
images/ellipse.png
images/eye.png
images/flyouth.png
images/flyup.gif
images/freehand-circle.png images/freehand-circle.png
images/select_node.png
images/align-center.png
images/align-middle.svg
images/source.png
images/svg_edit_icons.svgz
images/align-bottom.svg
images/node_clone.png
images/link_controls.png
images/align-left.svg
images/ellipse.png
images/align-left.png
images/move_top.png
images/view-refresh.png
images/freehand-square.png images/freehand-square.png
images/sep.png
images/to_path.png
images/go-down.png images/go-down.png
images/polygon.png
images/save.png
images/delete.png
images/align-right.svg
images/go-up.png images/go-up.png
images/select.png
images/fhpath.png
images/image.png images/image.png
images/italic.png images/reorient.png
images/line.png
images/logo.png images/logo.png
images/logo.svg images/redo.png
images/move_bottom.png images/cancel.png
images/move_top.png
images/none.png
images/open.png images/open.png
images/paste.png images/document-properties.png
images/flyup.gif
images/node_delete.png
images/bold.png
images/clone.png
images/align-top.svg
images/zoom.png
images/align-right.png
images/italic.png
images/dropdown.gif
images/path.png images/path.png
images/polygon.png images/rotate.png
images/README.txt
images/svg_edit_icons.svg
images/logo.svg
images/undo.png
images/shape_ungroup.png
images/align-bottom.png
images/flyouth.png
images/clear.png
images/conn.svg
images/rect.png images/rect.png
images/redo.png
images/save.png
images/select.png
images/sep.png
images/shape_group_elements.png images/shape_group_elements.png
images/shape_ungroup.png images/circle.png
images/source.png images/polygon.svg
images/square.png images/eye.png
images/align-center.svg
images/align-top.png
images/spinbtn_updn_big.png
images/wireframe.png
images/text.png images/text.png
images/undo.png images/cut.png
images/view-refresh.png images/none.png
images/wave.png images/line.png
images/zoom.png images/paste.png
locale/locale.js browser-not-supported.html
locale/lang.af.js jspdf/jspdf.min.js
locale/lang.ar.js jspdf/underscore-min.js
locale/lang.az.js jspdf/jspdf.plugin.svgToPdf.js
locale/lang.be.js recalculate.js
locale/lang.bg.js svg-editor.js
svg-editor.manifest
history.js
contextmenu/jquery.contextMenu.js
browser.js
historyrecording.js
svgtransformlist.js
select.js
locale/lang.lv.js
locale/lang.he.js
locale/lang.ca.js locale/lang.ca.js
locale/lang.cs.js locale/lang.sr.js
locale/lang.cy.js locale/lang.no.js
locale/lang.da.js locale/lang.ja.js
locale/lang.de.js
locale/lang.el.js
locale/lang.en.js
locale/lang.es.js locale/lang.es.js
locale/lang.et.js
locale/lang.fa.js
locale/lang.fi.js
locale/lang.fr.js
locale/lang.ga.js locale/lang.ga.js
locale/lang.gl.js locale/lang.sl.js
locale/lang.hi.js locale/lang.el.js
locale/lang.hr.js
locale/lang.hu.js locale/lang.hu.js
locale/lang.hy.js locale/lang.en.js
locale/lang.id.js locale/lang.pt-PT.js
locale/lang.is.js locale/lang.de.js
locale/lang.it.js locale/lang.fr.js
locale/lang.iw.js locale/lang.da.js
locale/lang.ja.js locale/lang.cy.js
locale/lang.bg.js
locale/lang.ko.js locale/lang.ko.js
locale/lang.lt.js locale/lang.et.js
locale/lang.lv.js locale/lang.fy.js
locale/lang.mk.js locale/lang.zh-HK.js
locale/lang.ms.js locale/lang.af.js
locale/lang.uk.js
locale/lang.zh-TW.js
locale/lang.pt-BR.js
locale/lang.is.js
locale/lang.hr.js
locale/lang.mt.js locale/lang.mt.js
locale/lang.nl.js locale/lang.zh-CN.js
locale/lang.no.js
locale/lang.pl.js locale/lang.pl.js
locale/lang.pt-PT.js
locale/lang.ro.js
locale/lang.ru.js locale/lang.ru.js
locale/lang.sk.js locale/lang.fi.js
locale/lang.sl.js locale/lang.lt.js
locale/lang.sq.js locale/lang.hy.js
locale/lang.sr.js
locale/lang.sv.js locale/lang.sv.js
locale/lang.sw.js locale/lang.nl.js
locale/lang.hi.js
locale/README.txt
locale/lang.test.js
locale/lang.be.js
locale/lang.it.js
locale/lang.th.js locale/lang.th.js
locale/lang.tl.js locale/lang.cs.js
locale/lang.gl.js
locale/lang.fa.js
locale/locale.js
locale/lang.ro.js
locale/lang.tr.js locale/lang.tr.js
locale/lang.uk.js locale/lang.mk.js
locale/lang.vi.js locale/lang.vi.js
locale/lang.ms.js
locale/lang.sq.js
locale/lang.tl.js
locale/lang.sw.js
locale/lang.yi.js locale/lang.yi.js
locale/lang.zh-CN.js locale/lang.sk.js
locale/lang.zh-TW.js locale/lang.ar.js
locale/lang.zh.js locale/lang.id.js
locale/lang.az.js
# Dynamic loads js-hotkeys/jquery.hotkeys.min.js
canvg/canvg.js js-hotkeys/README.md
svgicons/jquery.svgicons.js
embedapi.js
embedapi-dom.js
jquery.js
draw.js
jquery-svg.js
layer.js
svgutils.js
canvg/rgbcolor.js canvg/rgbcolor.js
jspdf/underscore-min.js canvg/canvg.js
jspdf/jspdf.js path.js
jspdf/jspdf.plugin.svgToPdf.js svg-editor.css
svgedit.js
# Extensions (todo: add other dependency files) svgedit.gadget.html
extensions/ext-arrows.js svgedit.gadget.js
extensions/ext-closepath.js config.js
extensions/ext-connector.js
extensions/ext-eyedropper.js
extensions/ext-foreignobject.js
extensions/ext-grid.js
extensions/ext-helloworld.js
extensions/ext-imagelib.js
extensions/ext-markers.js
extensions/ext-mathjax.js
extensions/ext-overview_window.js
extensions/ext-panning.js
extensions/ext-php_savefile.js
extensions/ext-polygon.js
extensions/ext-server_moinsave.js
extensions/ext-server_opensave.js
extensions/ext-shapes.js
extensions/ext-star.js
extensions/ext-storage.js
extensions/ext-webappfind.js
extensions/ext-xdomain-messaging.js
NETWORK:
*
\ No newline at end of file
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
<link rel="stylesheet" href="jgraduate/css/jgraduate.css" type="text/css"/> <link rel="stylesheet" href="jgraduate/css/jgraduate.css" type="text/css"/>
<link rel="stylesheet" href="svg-editor.css" type="text/css"/> <link rel="stylesheet" href="svg-editor.css" type="text/css"/>
<link rel="stylesheet" href="spinbtn/JQuerySpinBtn.css" type="text/css"/> <link rel="stylesheet" href="spinbtn/JQuerySpinBtn.css" type="text/css"/>
<link rel="stylesheet" href="custom.css" type="text/css"/>
<!--{if jquery_release}> <!--{if jquery_release}>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<!{else}--> <!{else}-->
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
}) })
.declareMethod('render', function (options) { .declareMethod('render', function (options) {
return this.changeState({ return this.changeState({
'value': options.value 'value': options.value,
'key': options.key
}); });
}) })
.onStateChange(function (modification_state) { .onStateChange(function (modification_state) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment