diff --git a/administrator/components/com_content/views/article/tmpl/pagebreak.php b/administrator/components/com_content/views/article/tmpl/pagebreak.php
index 949a05d6e867f..cbc9ff0cb7a54 100644
--- a/administrator/components/com_content/views/article/tmpl/pagebreak.php
+++ b/administrator/components/com_content/views/article/tmpl/pagebreak.php
@@ -23,7 +23,7 @@
$script .= '}'."\n\t";
$script .= 'var tag = "
";'."\n\t";
$script .= 'window.parent.jInsertEditorText(tag, \''.$this->eName.'\');'."\n\t";
-$script .= 'window.parent.SqueezeBox.close();'."\n\t";
+$script .= 'window.parent.jQuery("#pagebreakModal").modal("hide");'."\n\t";
$script .= 'return false;'."\n";
$script .= '}'."\n";
diff --git a/administrator/templates/isis/css/template-rtl.css b/administrator/templates/isis/css/template-rtl.css
index 1e03b879b8a1e..2ed017629ab02 100644
--- a/administrator/templates/isis/css/template-rtl.css
+++ b/administrator/templates/isis/css/template-rtl.css
@@ -3906,13 +3906,15 @@ input[type="submit"].btn.btn-mini {
line-height: 30px;
}
.modal-body {
+ width: 98%;
position: relative;
overflow-y: auto;
- max-height: 400px;
- padding: 15px;
+ max-height: none;
+ padding: 1%;
}
.modal-body iframe {
- max-height: 390px;
+ width: 100%;
+ max-height: none;
border: 0 !important;
}
.modal-form {
@@ -6151,11 +6153,11 @@ th .tooltip-inner {
}
div.modal {
position: fixed;
- top: 10%;
+ top: 5%;
left: 50%;
z-index: 1050;
- width: 580px;
- margin-left: -280px;
+ width: 80%;
+ margin-left: -40%;
background-color: #fff;
border: 1px solid #999;
border: 1px solid rgba(0,0,0,0.3);
@@ -6179,7 +6181,7 @@ div.modal.fade {
top: -25%;
}
div.modal.fade.in {
- top: 10%;
+ top: 5%;
}
.modal-batch {
overflow-y: visible;
@@ -7196,6 +7198,7 @@ body .navbar-fixed-top {
color: #0C192E;
text-shadow: 0 1px 0 #FFF;
margin-bottom: 10px;
+ min-height: 43px;
}
.subhead-collapse.collapse {
height: auto;
diff --git a/administrator/templates/isis/css/template.css b/administrator/templates/isis/css/template.css
index 5659379d0dd85..5705ff7d924fb 100644
--- a/administrator/templates/isis/css/template.css
+++ b/administrator/templates/isis/css/template.css
@@ -3906,13 +3906,15 @@ input[type="submit"].btn.btn-mini {
line-height: 30px;
}
.modal-body {
+ width: 98%;
position: relative;
overflow-y: auto;
- max-height: 400px;
- padding: 15px;
+ max-height: none;
+ padding: 1%;
}
.modal-body iframe {
- max-height: 390px;
+ width: 100%;
+ max-height: none;
border: 0 !important;
}
.modal-form {
@@ -6151,11 +6153,11 @@ th .tooltip-inner {
}
div.modal {
position: fixed;
- top: 10%;
+ top: 5%;
left: 50%;
z-index: 1050;
- width: 580px;
- margin-left: -280px;
+ width: 80%;
+ margin-left: -40%;
background-color: #fff;
border: 1px solid #999;
border: 1px solid rgba(0,0,0,0.3);
@@ -6179,7 +6181,7 @@ div.modal.fade {
top: -25%;
}
div.modal.fade.in {
- top: 10%;
+ top: 5%;
}
.modal-batch {
overflow-y: visible;
@@ -7196,7 +7198,7 @@ body .navbar-fixed-top {
color: #0C192E;
text-shadow: 0 1px 0 #FFF;
margin-bottom: 10px;
- min-height:43px;
+ min-height: 43px;
}
.subhead-collapse.collapse {
height: auto;
diff --git a/layouts/joomla/editors/buttons.php b/layouts/joomla/editors/buttons.php
index fa32b1c386d45..0960cf45321b8 100644
--- a/layouts/joomla/editors/buttons.php
+++ b/layouts/joomla/editors/buttons.php
@@ -12,7 +12,7 @@
$buttons = $displayData;
// Load modal popup behavior
-JHtml::_('behavior.modal', 'a.modal-button');
+JHtml::_('bootstrap.modal');
?>