Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@gevorgmansuryan
Copy link
Contributor

@gevorgmansuryan gevorgmansuryan self-assigned this Feb 28, 2025

public static function register($view)
{
$view->registerJsConfig('ui.showMore', [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should better this in the CoreJsConfig. Because it should not be only set for Streams.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ui.showMore is used from all the places anyway. Change?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gevorgmansuryan Isn't the Stream asset only used in Stream contexts?

Yes please change to more global core.

humhub.module('ui.showMore', function (module, require, $) {
var additions = require('ui.additions');

alert(module.config.collapseAt);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gevorgmansuryan Can you please remove?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants