Pārlūkot izejas kodu

HUE-1669 [metastore] Drop table from the table view does not show a modal anymore

Added missing closing element
Enrico Berti 12 gadi atpakaļ
vecāks
revīzija
d4422d9f2f

+ 5 - 4
apps/metastore/src/metastore/templates/describe_table.mako

@@ -154,6 +154,7 @@ ${ components.menubar() }
                       </tr>
                      % endfor
                   </tbody>
+                </table>
               </div>
             </div>
           </p>
@@ -234,13 +235,13 @@ ${ components.menubar() }
           "sZeroRecords": "${_('No matching records')}",
         }
       });
-    })
+    });
 
     $("#import-data-btn").click(function () {
       $.get("${ url('metastore:load_table', database=database, table=table.name) }", function (response) {
-            $("#import-data-modal").html(response['data']);
-            $("#import-data-modal").modal("show");
-          }
+          $("#import-data-modal").html(response['data']);
+          $("#import-data-modal").modal("show");
+        }
       );
     });
   });