瀏覽代碼

Removed typo when adding a row (#3741)

When adding row the button it's name is  `"> lang.remove_row` instead of just `lang.remove_row`
Denis Teyssier 5 年之前
父節點
當前提交
477e4dab13
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      data/web/js/site/admin.js

+ 1 - 1
data/web/js/site/admin.js

@@ -465,7 +465,7 @@ jQuery(function($){
     if (type == "app_link") {
     cols = '<td><input class="input-sm form-control" data-id="app_links" type="text" name="app" required></td>';
     cols += '<td><input class="input-sm form-control" data-id="app_links" type="text" name="href" required></td>';
-    cols += '<td><a href="#" role="button" class="btn btn-xs btn-default" type="button">">' + lang.remove_row + '</a></td>';
+    cols += '<td><a href="#" role="button" class="btn btn-xs btn-default" type="button">' + lang.remove_row + '</a></td>';
     } else if (type == "f2b_regex") {
     cols = '<td><input style="text-align:center" class="input-sm form-control" data-id="f2b_regex" type="text" value="+" disabled></td>';
     cols += '<td><input class="input-sm form-control regex-input" data-id="f2b_regex" type="text" name="regex" required></td>';