We currently don’t have this action type supported on desktop clients.
Our teams are discussing the possibility to add it in future versions. I’ll update you if there are any news on the subject.
To still be able to use this action type, I suggest adding some sort of fallback, in which if the callback is returned without the number, explicitly ask for the user to enter it.
public function getArtist()
{
return $this->hasOne(Artist::className(), ['artist_id' => 'artist_id']);
}
var somefunc = function(event) {
// Функция
}
$('.ShowDataContent .DataPhoto').bind('dblclick', somefunc);
$('.ShowDataContent .ActionsButton .b').bind('click', somefunc);