Page 1 of 2

When I modify the codes on the page but the codes in the Source is not change?

Posted: Fri Apr 25, 2014 8:35 am
by Crystal

Hello,

I have modified the codes but in source code it not changes. I also "Undo all source changes" it also doesn't work.

So what's the reason?


When I modify the codes on the page but the codes in the Source is not change?

Posted: Fri Apr 25, 2014 9:07 am
by Maryna Brodina

Hello!

Could you clarify what exactly have you modified?
This tutorial should help http://docs.appery.io/tutorials/sourc...


When I modify the codes on the page but the codes in the Source is not change?

Posted: Mon Apr 28, 2014 1:22 am
by Crystal

Hello,
I have fellow the tutorial but it seems not work.

For example,when I add a new service and download the source code,however the new service is not in the source code.

The code that I have modified is that Commented the original code what is don't use(The code that is comment is :

if(Appery("SalesMobile").val()===""){
alert("required");
return false;
}
)


When I modify the codes on the page but the codes in the Source is not change?

Posted: Mon Apr 28, 2014 9:20 am
by Kateryna Grynko

Hi,

Take a look at this tutorial please: http://docs.appery.io/tutorials/sourc...[quote:]It’s important to remember that if you try to make any changes in the visual builder after you have edited the source, the changes won’t be seen."[/quote]Edited files are highlighted with blue color. Check if your files are edited.


When I modify the codes on the page but the codes in the Source is not change?

Posted: Mon Apr 28, 2014 9:54 am
by Crystal

Hello,

I don't create any Custom files and all the source code is Automatically generated.

But now when I change the code that I wrote before the souce code don't change.
(I don't change anything in the source code Manual)


When I modify the codes on the page but the codes in the Source is not change?

Posted: Mon Apr 28, 2014 10:02 am
by Kateryna Grynko

Could you clarify please, aren't your source code changes applied?


When I modify the codes on the page but the codes in the Source is not change?

Posted: Tue Apr 29, 2014 1:19 am
by Crystal

Yes, my source code are not change applied.

For example, When I write a service it should be added in the service.js ,Right?

But in fact the service is not in the service.js.


When I modify the codes on the page but the codes in the Source is not change?

Posted: Tue Apr 29, 2014 4:22 am
by Igor

Hello,

Yes, if you right generic service and create JS asset for this service this JS asset should be available on all pages.

For example, we have "JavasScript1" in the Javascript assets. http://prntscr.com/3egluf/direct

When we open page source code we should see this file in script section. http://prntscr.com/3egm2k/direct

Also when you create any service this fact should be reflected in the "service.js" file.

Could you post app public link and steps how can we reproduce the problem?


When I modify the codes on the page but the codes in the Source is not change?

Posted: Tue Apr 29, 2014 7:07 am
by Crystal

Hello,
I have modified the page like this Image
but the source code is outdated, it's still previous code which before I modified. Image
This situation is just happen in some pages, not all pages. And the new page is also fine.


When I modify the codes on the page but the codes in the Source is not change?

Posted: Tue Apr 29, 2014 3:28 pm
by Kateryna Grynko

Hi,

You have some files (MarketCM.html, MarketCoupon.html, marketing.html) which you have edited manually (outside Appery.io visual builder). These files are highlighted with blue color. For these files you can't use Appery.io visual builder, because your changes will not appear in these files.