From 402950211af51d2b29ae84610d559b45a3765e02 Mon Sep 17 00:00:00 2001 From: denise Date: Wed, 5 Dec 2012 13:23:58 -0500 Subject: [PATCH] CC-4735: Library: Edit metadata selection should be a popup instead of going to a new page -removed redundant 'Ok' button --- airtime_mvc/public/js/airtime/library/library.js | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/airtime_mvc/public/js/airtime/library/library.js b/airtime_mvc/public/js/airtime/library/library.js index 600b3dcc1..36023003f 100644 --- a/airtime_mvc/public/js/airtime/library/library.js +++ b/airtime_mvc/public/js/airtime/library/library.js @@ -949,18 +949,9 @@ function buildEditMetadataDialog (json){ autoOpen: false, title: $.i18n._("Edit Metadata"), width: 460, - height: 700, + height: 660, modal: true, - close: closeDialog, - buttons: [ - { - text: $.i18n._("Ok"), - "class": "btn", - click: function() { - dialog.remove(); - } - } - ] + close: closeDialog }); dialog.dialog('open'); @@ -1278,3 +1269,4 @@ $(document).ready(function() { $("#edit-md-dialog").dialog().remove(); }); }); +