Просмотр исходного кода

Regression: the instance method is only available since jquery UI 1.11

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3484 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 10 лет назад
Родитель
Сommit
e2da6632e6
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      js/property_field.js

+ 2 - 2
js/property_field.js

@@ -268,10 +268,10 @@ $(function()
 		},
 		_get_widget: function(element)
 		{
-			var oWidget = element.property_field('instance');
+			var oWidget = element.data('itopProperty_field');
 			if (oWidget == undefined)
 			{
-				oWidget = element.selector_property_field('instance');
+				oWidget = element.data('itopSelector_property_field');
 			}
 			return oWidget;
 		}