Author: konstantin.mishin
Date: 2009-06-19 13:56:05 -0400 (Fri, 19 Jun 2009)
New Revision: 14662
Modified:
branches/community/3.3.X/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
branches/community/3.3.X/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
Log:
small fix
Modified:
branches/community/3.3.X/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js
===================================================================
---
branches/community/3.3.X/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2009-06-19
11:55:50 UTC (rev 14661)
+++
branches/community/3.3.X/ui/fileUpload/src/main/resources/org/richfaces/renderkit/html/js/FileUpload.js 2009-06-19
17:56:05 UTC (rev 14662)
@@ -426,6 +426,9 @@
acceptedTypes: {"*" : true},
initialize: function(id, actionUrl, stopScript, getFileSizeScript, progressBarId,
sessionId, options) {
+ if(!options) {
+ options = {};
+ }
//default values of classes
this.classes = {
ADD : {
Modified:
branches/community/3.3.X/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js
===================================================================
---
branches/community/3.3.X/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2009-06-19
11:55:50 UTC (rev 14661)
+++
branches/community/3.3.X/ui/inplaceInput/src/main/resources/org/richfaces/renderkit/html/scripts/inplaceinput.js 2009-06-19
17:56:05 UTC (rev 14662)
@@ -9,6 +9,9 @@
Richfaces.InplaceInput.prototype = {
//TODO: remove $$$$$
initialize: function(clientId, options) {
+ if(!options) {
+ options = {};
+ }
this.inplaceInput = $(clientId);
this.inplaceInput.component = this;
Show replies by date