Skip to content

Commit

Permalink
merge from master 1.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
henryyan committed Apr 23, 2014
1 parent cfc020f commit 471ce54
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 38 deletions.
90 changes: 53 additions & 37 deletions WebContent/editor/oryx.debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,22 @@
* DEALINGS IN THE SOFTWARE.
**/

/**
* Fixed http://forums.activiti.org/content/activiti-modeler-doesnt-work-chrome-v34
*/
if (!Document.prototype.createAttributeNS) {
Document.prototype.createAttributeNS = function(namespaceURI, qualifiedName) {
var dummy = this.createElement('dummy');
dummy.setAttributeNS(namespaceURI, qualifiedName, '');
var attr = dummy.attributes[0];
dummy.removeAttributeNode(attr);
return attr;
};
}
if (!Element.prototype.setAttributeNodeNS) {
Element.prototype.setAttributeNodeNS = Element.prototype.setAttributeNode;
}

/**
* @namespace Oryx name space for different utility methods
* @name ORYX.Utils
Expand Down Expand Up @@ -18218,43 +18234,43 @@ ORYX.Plugins.AbstractLayouter = ORYX.Plugins.AbstractPlugin.extend({
layout: function(shapes){
throw new Error("Layouter has to implement the layout function.")
}
});ImageViewer = Ext.extend(Ext.Window, {
initComponent: function() {
this.bodyCfg = {
tag: 'img',
src: this.src,
autoscroll: true,
fixedcenter : true
};
ImageViewer.superclass.initComponent.apply(this, arguments);
},

onRender: function() {
ImageViewer.superclass.onRender.apply(this, arguments);
this.body.on('load', this.onImageLoad, this, {single: true});
},

onImageLoad: function() {
// var h = this.getFrameHeight(),
// w = this.getFrameWidth();
// this.setSize(this.body.dom.offsetWidth + w, this.body.dom.offsetHeight + h);
},

setSrc: function(src) {
this.body.on('load', this.onImageLoad, this, {single: true});
//this.body.dom.style.width = this.body.dom.style.width = 'auto';
this.body.dom.src = src;
},

initEvents: function() {
ImageViewer.superclass.initEvents.apply(this, arguments);
if (this.resizer) {
this.resizer.preserveRatio = true;
}
}
});if(!Signavio){ var Signavio = {} };
if (!Signavio.Core) { Signavio.Core = {} };
Signavio.Core.Version = "1.0";
});ImageViewer = Ext.extend(Ext.Window, {
initComponent: function() {
this.bodyCfg = {
tag: 'img',
src: this.src,
autoscroll: true,
fixedcenter : true
};
ImageViewer.superclass.initComponent.apply(this, arguments);
},
onRender: function() {
ImageViewer.superclass.onRender.apply(this, arguments);
this.body.on('load', this.onImageLoad, this, {single: true});
},
onImageLoad: function() {
// var h = this.getFrameHeight(),
// w = this.getFrameWidth();
// this.setSize(this.body.dom.offsetWidth + w, this.body.dom.offsetHeight + h);
},
setSrc: function(src) {
this.body.on('load', this.onImageLoad, this, {single: true});
//this.body.dom.style.width = this.body.dom.style.width = 'auto';
this.body.dom.src = src;
},
initEvents: function() {
ImageViewer.superclass.initEvents.apply(this, arguments);
if (this.resizer) {
this.resizer.preserveRatio = true;
}
}
});if(!Signavio){ var Signavio = {} };
if (!Signavio.Core) { Signavio.Core = {} };
Signavio.Core.Version = "1.0";
/**
* Copyright (c) 2009
*
Expand Down
2 changes: 1 addition & 1 deletion resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dbcp.maxActive=20
dbcp.maxIdle=10

#versions
system.version=1.10.0
system.version=1.10.1
spring.version=3.2.5.RELEASE
hibernate.version=4.2.5.Final
activiti.version=5.15.1-kft
Expand Down
Binary file removed resources/diagrams/leave-jpa/Archive.zip
Binary file not shown.

0 comments on commit 471ce54

Please sign in to comment.