1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-23 22:53:01 +02:00

Closes #693 - custom pages quick view link broken

This commit is contained in:
SecretR
2014-07-09 19:24:07 +03:00
parent 965631d370
commit f1fbeaa996
2 changed files with 33 additions and 6 deletions

View File

@@ -116,8 +116,8 @@ class e_form
$class = "class='".$options['class']."'";
}
else // default
{
$class= "class='form-horizontal'";
{
$class= "class='form-horizontal'";
}
if(isset($options['autocomplete'])) // leave as isset()
@@ -2781,7 +2781,7 @@ class e_form
{
$model = $this->getController()->getListModel();
// copy url config
$model->setUrl($this->getController()->getUrl());
if(!$model->getUrl()) $model->setUrl($this->getController()->getUrl());
// assemble the url
$link = $model->url();
}