Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
~ See the License for the specific language governing permissions and
~ limitations under the License.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/* global jQuery, Coral */
(function ($, Coral) {
/* global jQuery, Coral, Granite */
(function ($, Coral, Granite) {
var initAssetSourcesTab = function () {
var btn = $('.cmp-formsportal-searchandlister--editor-parameters > ._coral-Button')[0];

Expand All @@ -23,7 +23,7 @@
// overrides the default multi-field button
btn.set({
label: {
innerHTML: "Add another location"
innerHTML: Granite.I18n.get("Add another location")
},
icon: "add"
});
Expand All @@ -35,4 +35,4 @@
$(document).on("dialog-ready", function () {
initAssetSourcesTab();
});
}(jQuery, Coral));
}(jQuery, Coral, Granite));