浏览代码

[metastore] Fix for drop table modal

Johan Ahlen 10 年之前
父节点
当前提交
9f292be
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      apps/metastore/src/metastore/templates/metastore.mako

+ 5 - 1
apps/metastore/src/metastore/templates/metastore.mako

@@ -640,7 +640,11 @@ ${ assist.assistPanel() }
       <input type="submit" class="btn btn-danger" value="${_('Yes, drop this table')}"/>
       <input type="submit" class="btn btn-danger" value="${_('Yes, drop this table')}"/>
     </div>
     </div>
     <div class="hide">
     <div class="hide">
-      <input type="hidden" name="table_selection" data-bind="value: database().table().name" />
+      <!-- ko with: database -->
+      <!-- ko with: table -->
+      <input type="hidden" name="table_selection" data-bind="value: name" />
+      <!-- /ko -->
+      <!-- /ko -->
     </div>
     </div>
   </form>
   </form>
 </div>
 </div>