#242: cv speichern
This commit is contained in:
parent
d852f18552
commit
e55e66e412
|
@ -1137,6 +1137,9 @@ msgstr ""
|
|||
msgid "dreamjob.my.profil"
|
||||
msgstr ""
|
||||
|
||||
msgid "dreamjob.applicated.to"
|
||||
msgstr ""
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
$newcount++;
|
||||
if($newcount>0)
|
||||
$statusApp = $newcount."/".$statusApp;
|
||||
$statusApp =__('dreamjob.applicated').' <span class="badge">'.$statusApp.'</span>';
|
||||
$statusApp =__('dreamjob.applicated.to').' <span class="badge">'.$statusApp.'</span>';
|
||||
$archiv['filter'] = 'archiv';
|
||||
}else{
|
||||
$statusApp = __('dreamjob.application');
|
||||
|
|
|
@ -462,7 +462,7 @@ body.loading #container{
|
|||
display:inline-block;
|
||||
width:90%;
|
||||
}
|
||||
.cv .date > select {
|
||||
.cv .date > select,.cv .date > .select2-container {
|
||||
width:30%;
|
||||
display:inline-block;
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
$(where+' .dropdown-toggle').dropdown();
|
||||
$(where+" a").tooltip();;
|
||||
$(where+" a").each(function(that){
|
||||
if($(this).attr("rel")!=="external" && $(this).attr("ref")!=="eventOff" && !$(this).parents('ul').hasClass("wysihtml5-toolbar") && !$(this).hasClass(".select2-choice"))
|
||||
if($(this).attr("rel")!=="external" && $(this).attr("ref")!=="eventOff" && !$(this).parents('ul').hasClass("wysihtml5-toolbar") && !$(this).hasClass(".select2-choice") && !$(this).parents('form').hasClass('tableForm'))
|
||||
$(this).click(function(e){
|
||||
load($(this).attr('href'),{},($(this).attr('rel')=="tab"));
|
||||
return false;
|
||||
|
@ -117,7 +117,7 @@
|
|||
});
|
||||
if(tosave)
|
||||
//console.log("sendTosave");
|
||||
saveForm();
|
||||
saveForm(that);
|
||||
});
|
||||
//ZUOFT WIRD GESPEICHERT
|
||||
|
||||
|
@ -126,25 +126,30 @@
|
|||
var that2 = this;
|
||||
$(".btn-del",this).unbind("click").click(function(evt){
|
||||
$(that2).remove();
|
||||
saveForm();
|
||||
saveForm(that);
|
||||
});
|
||||
});
|
||||
}
|
||||
evet();
|
||||
function saveForm(){
|
||||
});
|
||||
|
||||
function saveForm(here,back){
|
||||
i = 0;
|
||||
$(":input[ name *= '_wysihtml5_mod' ]",$(that).parents('form')).remove();
|
||||
$("tbody tr.new",$(that).parents('form')).remove();
|
||||
$("tbody tr",$(that).parents('form')).each(function(){
|
||||
$(":input",this).each(function(){
|
||||
$(":input[ name *= '_wysihtml5_mod' ]",$(here).parents('form')).remove();
|
||||
//$(":input[ class *= 'select2-focusser' ]",$(here).parents('form')).remove();
|
||||
$("tbody tr.new",$(here).parents('form')).remove();
|
||||
$("tbody tr",$(here).parents('form')).each(function(){
|
||||
$(":input[name]",this).each(function(){
|
||||
str = $(this).attr("name").replace(/data\[(.*?)\]\[.*?\]\[(.+)\]/g,'data[$1]['+i+'][$2]');
|
||||
$(this).attr("name",str);
|
||||
});
|
||||
i++;
|
||||
});
|
||||
load($(that).parents("form").attr("action"),{data:$(that).parents("form").serialize(), type:'POST'},false);
|
||||
load($(here).parents("form").attr("action"),{back:back,data:$(here).parents("form").serialize(), type:'POST'},false);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$($(where+" form.tableForm .label.edit").parents('form.tableForm a')).click(function(){saveForm('form.tableForm tbody',$(this).attr('href'));return false;});
|
||||
//$(where+" form label.has-error").parent(".form-group").addClass("has-error")
|
||||
}
|
||||
function setContent(data,back,tab,backignore){
|
||||
|
|
Loading…
Reference in New Issue