Skip to content

Нет подтверждения при клике на крестик (очистить все поля)#4

Open
mediakot wants to merge 46 commits intoDivanDesign:masterfrom
MrSwed:master
Open

Нет подтверждения при клике на крестик (очистить все поля)#4
mediakot wants to merge 46 commits intoDivanDesign:masterfrom
MrSwed:master

Conversation

@mediakot
Copy link

В неудачном месте кнопка удаления всех записей "х", да к тому же нет подтверждения. Я добавил алерт. Заменил в файле jquery.ddMM.mm_ddMultipleFields.js
$(".ddDeleteButton"+(_inst.minRow?":gt("+(_inst.minRow-1)+")":""), $ddMultipleField).click();

на

if(confirm("Вы уверены?"))$(".ddDeleteButton"+(_inst.minRow?":gt("+(_inst.minRow-1)+")":""), $ddMultipleField).click();

MrSwed added 30 commits April 2, 2015 09:46
…be set to the third element, otherwise the first element is used
…ortable showIndex (true/false) - now can show row index
… no need after "allow use universal parameter size of inputs (80%,5em,auto,etc)" (e96df12936e319f4113df7e4d36128faf1a4981)
[+] not buttons col if only one required row (max = min = 1)
[+] no add and copy button if max is one row
[*] fix titles tips while reset
[*] fix attr disabled for buttons
…e standard copying and pasting. After pasting, press the reset button.
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.

2 participants