Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1172153
D103.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Sep 29, 5:26 AM
Size
703 B
Mime Type
text/x-diff
Expires
Tue, Sep 30, 5:26 AM (20 h, 43 m)
Engine
blob
Format
Raw Data
Handle
759629
Attached To
D103: INP-1453 Allow using "AdminEditButton" tag several times for same item
D103.diff
View Options
Index: branches/5.2.x/core/kernel/db/db_tag_processor.php
===================================================================
--- branches/5.2.x/core/kernel/db/db_tag_processor.php
+++ branches/5.2.x/core/kernel/db/db_tag_processor.php
@@ -2712,6 +2712,7 @@
}
$form_name = 'kf_' . str_replace('-', '_', $item_prefix) . '_' . $object->GetID();
+ $form_name .= '_' . kUtil::crc32(json_encode($params));
$button_icon = isset($params['button_icon']) ? $params['button_icon'] : 'content_mode.png';
$button_class = isset($params['button_class']) ? $params['button_class'] : 'admin-edit-btn';
$button_title = isset($params['button_title']) ? $params['button_title'] : 'la_btn_AdminEditItem';
Event Timeline
Log In to Comment