You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2015/06/08 11:05:46 UTC
svn commit: r1684125 -
/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
Author: lofwyr
Date: Mon Jun 8 09:05:46 2015
New Revision: 1684125
URL: http://svn.apache.org/r1684125
Log:
check null
Modified:
myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js?rev=1684125&r1=1684124&r2=1684125&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js Mon Jun 8 09:05:46 2015
@@ -938,13 +938,15 @@ var Tobago = {
element.css("height", data.height);
}
*/
- element.css({
- left: data.left,
- top: data.top,
- width: data.width,
- height: data.height,
- zIndex: data.zIndex
- });
+ if (data) {
+ element.css({
+ left: data.left,
+ top: data.top,
+ width: data.width,
+ height: data.height,
+ zIndex: data.zIndex
+ });
+ }
});
/* XXX this is the old Tobago 2.0 behaviour, should be deleded und removing these information from the tags
Tobago.Utils.selectWithJQuery(elements, "[data-tobago-style]").each(function () {