diff options
| author | Gubolin <gubolin@fantasymail.de> | 2014-12-07 11:50:08 +0100 |
|---|---|---|
| committer | Gubolin <gubolin@fantasymail.de> | 2014-12-07 11:50:08 +0100 |
| commit | 25a62961d65effc2ea311214e715b8c1e3b8ad4e (patch) | |
| tree | 1e59030fc4e5c9d5c0c3bc6202346ad4333697be /blocks.js | |
| parent | 80b8581462cb2299f3e776b8052877d47906eeee (diff) | |
| parent | 667aa5a56564d07c05182eeae7bba7567710a844 (diff) | |
| download | snap-25a62961d65effc2ea311214e715b8c1e3b8ad4e.tar.gz snap-25a62961d65effc2ea311214e715b8c1e3b8ad4e.zip | |
Merge remote-tracking branch 'origin/location' into development
Diffstat (limited to 'blocks.js')
| -rw-r--r-- | blocks.js | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -866,6 +866,25 @@ SyntaxElementMorph.prototype.labelPart = function (spec) { ); part.setContents(['date']); break; + case '%locations': + part = new InputSlotMorph( + null, // text + false, // non-numeric + { + 'all' : ['all'], + 'country' : ['country'], + 'state' : ['state'], + 'state district' : ['state district'], + 'suburb' : ['suburb'], + 'city' : ['city'], + 'road' : ['road'], + 'house number' : ['house number'], + 'licence': ['licence'] + }, + true // read-only + ); + part.setContents(['all']); + break; case '%delim': part = new InputSlotMorph( null, // text |
