1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-05-09 04:18:20 +03:00

Мелкие исправления

* Fixes #581
* Fixes #579
This commit is contained in:
Denis Shakhov 2014-12-07 21:13:27 +07:00
parent 3d336a8d2b
commit dd6e348924
5 changed files with 4 additions and 6 deletions

View file

@ -10,7 +10,7 @@
{extends 'layouts/layout.base.tpl'}
{block 'layout_options' append}
{$layouShowSidebar = Config::Get( 'view.topic_show_sidebar' )}
{$layoutShowSidebar = Config::Get( 'view.topic_show_sidebar' )}
{/block}
{block 'layout_content'}

View file

@ -86,7 +86,7 @@
</div>
{* Кат *}
{if $article->getTextShort() != $article->getText()}
{if $isList && $article->getTextShort() != $article->getText()}
{include 'components/button/button.tpl'
classes = "{$component}-cut"
url = "{$article->getUrl()}#cut"

View file

@ -39,7 +39,7 @@
* @private
*/
_create: function () {
this.options = $.extend({}, this.options, ls.utils.getDataOptions(this.element, this.widgetName));
this.options = $.extend({}, this.options, ls.utils.getDataOptions(this.element, 'more'));
this.options.proxy = $.extend({}, this.options.proxy, ls.utils.getDataOptions(this.element, 'proxy'));
this.target = $( this.options.target );

View file

@ -46,7 +46,7 @@
_create: function () {
var _this = this;
this.options = $.extend({}, this.options, ls.utils.getDataOptions(this.element, this.widgetName));
this.options = $.extend({}, this.options, ls.utils.getDataOptions(this.element, 'note'));
// Получаем аякс параметры
this.params = ls.utils.getDataOptions(this.element, 'param');

View file

@ -21,8 +21,6 @@ ls.talk = (function ($) {
this.init = function(options) {
var _this = this;
this.options = $.extend({}, defaults, options);
this.elements = {
form: $('#talk-form'),
form_action: $('#talk-form-action')