Henning Snater has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/92634


Change subject: (hotfix) Checking for property to lock property input
......................................................................

(hotfix) Checking for property to lock property input

(bug 56296)
Instead of checking for the value, the property id needs to be checked to lock 
the
property input element. This prevents the property input box from receiving 
focus
when adding a new claim to an already existing claim list.

Change-Id: I8260becda68d4f3027f01d154e1e52ab7e852f8b
---
M lib/resources/jquery.wikibase/jquery.wikibase.claimlistview.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/34/92634/1

diff --git a/lib/resources/jquery.wikibase/jquery.wikibase.claimlistview.js 
b/lib/resources/jquery.wikibase/jquery.wikibase.claimlistview.js
index 2b59489..148bcbf 100644
--- a/lib/resources/jquery.wikibase/jquery.wikibase.claimlistview.js
+++ b/lib/resources/jquery.wikibase/jquery.wikibase.claimlistview.js
@@ -136,7 +136,7 @@
                                                },
                                                locked: {
                                                        mainSnak: {
-                                                               property: 
!!value
+                                                               property: 
!!propertyId
                                                        }
                                                }
                                        };

-- 
To view, visit https://gerrit.wikimedia.org/r/92634
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8260becda68d4f3027f01d154e1e52ab7e852f8b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Henning Snater <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to