зеркало из https://github.com/mozilla/gecko-dev.git
add support for saving new term elements that don't have search terms associated with them
This commit is contained in:
Родитель
cb9ed532cf
Коммит
f247d4fe53
|
@ -406,6 +406,16 @@
|
|||
]]>
|
||||
</body>
|
||||
</method>
|
||||
<!-- if you have a search term element with no search term -->
|
||||
<method name="saveTo">
|
||||
<argument name="searchTerm"/>
|
||||
<body>
|
||||
<![CDATA[
|
||||
this.internalSearchTerm = searchTerm;
|
||||
this.save();
|
||||
]]>
|
||||
</body>
|
||||
</method>
|
||||
</interface>
|
||||
</binding>
|
||||
</bindings>
|
||||
|
|
Загрузка…
Ссылка в новой задаче