summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/pkg_edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/pkg_edit.php')
-rw-r--r--src/usr/local/www/pkg_edit.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/usr/local/www/pkg_edit.php b/src/usr/local/www/pkg_edit.php
index ea04094..68886d7 100644
--- a/src/usr/local/www/pkg_edit.php
+++ b/src/usr/local/www/pkg_edit.php
@@ -1423,7 +1423,10 @@ if ($pkg['fields']['field'] != "") { ?>
// Hide on page load
$('.advancedoptions').hide();
- // But show it if you click the showadv button
+ // Suppress "Delete row" button if there are fewer than two rows
+ checkLastRow();
+
+ // Show advanced section if you click the showadv button
$('#showadv').prop('type', 'button');
$("#showadv").click(function() {
OpenPOWER on IntegriCloud